<ResourceDictionary 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:System="clr-namespace:System;assembly=mscorlib"
    xmlns:local="clr-namespace:ForzaUI">

    <local:CompareConverter x:Key="A_CompareConverter" />
    <local:FZBooleanToVisibilityConverter x:Key="A_Converter_BoolToVis" InvertResult="false" />
    <local:FZBooleanToVisibilityConverter x:Key="A_Converter_BoolToVis_Inverted" InvertResult="true" />
    <local:FZBooleanToVisibilityConverter x:Key="A_FZBooleanToVisibilityConverter" InvertResult="false" />
    <local:FZBooleanToVisibilityConverter x:Key="A_FZBooleanToVisibilityConverter_Inverse" InvertResult="true"/>
    <local:FZBooleanToVisibilityConverter x:Key="A_FZBooleanToVisibilityConverter_UseHidden" UseHidden="true" InvertResult="false" />
    <local:FZBooleanToVisibilityConverter x:Key="A_FZBooleanToVisibilityConverter_UseHidden_Inverse" UseHidden="true" InvertResult="true" />
    <local:StringVisConverter x:Key="A_StringVisConverter" />
    <local:StringVisConverter x:Key="A_StringVisConverter_Inverse" InvertResult="true" />
    <local:StringVisConverter x:Key="A_StringVisConverter_UseHidden" UseHidden="true"/>
    <local:StringVisConverter x:Key="A_StringVisConverter_UseHidden_Inverse" UseHidden="true" InvertResult="true" />
    
    <MappingConverter
        x:Key="H_TrueIfNotNull">
        <MappingConverter.Default>
            <Boolean>True</Boolean>
        </MappingConverter.Default>
        <MappingConverterEntry
            Key="{Null}">
            <MappingConverterEntry.Value>
                <Boolean>False</Boolean>
            </MappingConverterEntry.Value>
        </MappingConverterEntry>
    </MappingConverter>
    <MappingConverter
        x:Key="H_TrueIfNull">
        <MappingConverter.Default>
            <Boolean>False</Boolean>
        </MappingConverter.Default>
        <MappingConverterEntry
            Key="{Null}">
            <MappingConverterEntry.Value>
                <Boolean>True</Boolean>
            </MappingConverterEntry.Value>
        </MappingConverterEntry>
    </MappingConverter>
    <MultiConverter
        x:Key="H_IndexToNumberConverter">
        <MultiConverterEntry
            Converter="{LinearTransformConverter Add=1}"
            TargetType="{Type Int32}" />
    </MultiConverter>
    <MappingConverter
        x:Key="H_CollapseIfZeroOrOne"
        Default="{x:Static Visibility.Visible}">
        <MappingConverterEntry
            Key="1"
            Value="{x:Static Visibility.Collapsed}" />
        <MappingConverterEntry
            Key="0"
            Value="{x:Static Visibility.Collapsed}" />
    </MappingConverter>
    <MappingConverter
        x:Key="H_TrueIfEqual">
        <MappingConverter.Default>
            <Boolean>False</Boolean>
        </MappingConverter.Default>
        <MappingConverterEntry
            Key="{Static CompareResult.Equal}">
            <MappingConverterEntry.Value>
                <Boolean>True</Boolean>
            </MappingConverterEntry.Value>
        </MappingConverterEntry>
    </MappingConverter>
    <MultiConverter
        x:Key="H_CollapseIfLessThanZero">
        <MultiConverterEntry
            Converter="{CompareConverter}"
            Parameter="0"
            TargetType="{Type CompareResult}" />
        <MultiConverterEntry>
            <MultiConverterEntry.Converter>
                <MappingConverter
                        Default="{Static Visibility.Visible}">
                    <MappingConverterEntry
                            Key="{Static CompareResult.LessThan}"
                            Value="{Static Visibility.Collapsed}" />
                </MappingConverter>
            </MultiConverterEntry.Converter>
        </MultiConverterEntry>
    </MultiConverter>
    <MultiConverter
        x:Key="H_CollapseIfLessThanOne">
        <MultiConverterEntry
            Converter="{CompareConverter}"
            Parameter="1"
            TargetType="{Type CompareResult}" />
        <MultiConverterEntry>
            <MultiConverterEntry.Converter>
                <MappingConverter
                        Default="{Static Visibility.Visible}">
                    <MappingConverterEntry
                            Key="{Static CompareResult.LessThan}"
                            Value="{Static Visibility.Collapsed}" />
                </MappingConverter>
            </MultiConverterEntry.Converter>
        </MultiConverterEntry>
    </MultiConverter>
    <MultiConverter
        x:Key="H_VisibleIfLessThanOne">
        <MultiConverterEntry
            Converter="{CompareConverter}"
            Parameter="1"
            TargetType="{Type CompareResult}" />
        <MultiConverterEntry>
            <MultiConverterEntry.Converter>
                <MappingConverter
                        Default="{Static Visibility.Collapsed}">
                    <MappingConverterEntry
                            Key="{Static CompareResult.LessThan}"
                            Value="{Static Visibility.Visible}" />
                </MappingConverter>
            </MultiConverterEntry.Converter>
        </MultiConverterEntry>
    </MultiConverter>
    <MultiConverter
        x:Key="H_VisibleIfGreaterThanZero"
        ConvertNullValues="True">
        <MultiConverterEntry
            Converter="{CompareConverter}"
            Parameter="0"
            TargetType="{Type CompareResult}" />
        <MultiConverterEntry>
            <MultiConverterEntry.Converter>
                <MappingConverter
                        Default="{Static Visibility.Collapsed}">
                    <MappingConverterEntry
                            Key="{Static CompareResult.GreaterThan}"
                            Value="{Static Visibility.Visible}" />
                </MappingConverter>
            </MultiConverterEntry.Converter>
        </MultiConverterEntry>
    </MultiConverter>
    <MultiConverter
        x:Key="H_VisibleIfGreaterThanOne"
        ConvertNullValues="True">
        <MultiConverterEntry
            Converter="{CompareConverter}"
            Parameter="1"
            TargetType="{Type CompareResult}" />
        <MultiConverterEntry>
            <MultiConverterEntry.Converter>
                <MappingConverter
                        Default="{Static Visibility.Collapsed}">
                    <MappingConverterEntry
                            Key="{Static CompareResult.GreaterThan}"
                            Value="{Static Visibility.Visible}" />
                </MappingConverter>
            </MultiConverterEntry.Converter>
        </MultiConverterEntry>
    </MultiConverter>
    <MultiConverter
        x:Key="H_InvertConverter"
        ConvertNullValues="True">
        <MultiConverterEntry
            Converter="{MathOperationConverter Operation=Multiply}">
            <MultiConverterEntry.Parameter>
                <Double>-1</Double>
            </MultiConverterEntry.Parameter>
        </MultiConverterEntry>
    </MultiConverter>
    <MultiConverter
        x:Key="H_ReciprocalConverter"
        ConvertNullValues="True">
        <MultiConverterEntry
            Converter="{MathOperationConverter Operation=Power}">
            <MultiConverterEntry.Parameter>
                <Double>-1</Double>
            </MultiConverterEntry.Parameter>
        </MultiConverterEntry>
    </MultiConverter>
    <MultiConverter
        x:Key="H_TextForDisplayToTextForScreenReader">
        <MultiConverterEntry>
            <MultiConverterEntry.Converter>
                <StringSubstitutionConverter>
                    <StringSubstitution
                        Find="&#x0a;"
                        Replace="{Loc Main.IDS_ScreenReader_VoicedLineSeparator}" />
                </StringSubstitutionConverter>
            </MultiConverterEntry.Converter>
        </MultiConverterEntry>
        <MultiConverterEntry
            Converter="{TrimInlineMarkupConverter}" />
    </MultiConverter>
    
    <MappingConverter x:Key="A_Converter_VisibleWhenNotNull"
                      Default="{x:Static Visibility.Visible}">
        <MappingConverterEntry  Key="{x:Null}"
                                Value="{x:Static Visibility.Collapsed}" />
    </MappingConverter>
    
    <local:MappingConverter x:Key="A_Converter_XPTierToGradientColorA">
        <local:MappingConverterEntry Key="Tier1" Value="{StaticResource A_Color_PlayerLevel_Background_Tier1}"/>
        <local:MappingConverterEntry Key="Tier2" Value="{StaticResource A_Color_PlayerLevel_Background_Tier2}"/>
        <local:MappingConverterEntry Key="Tier3" Value="{StaticResource A_Color_PlayerLevel_Background_Tier3}"/>
        <local:MappingConverterEntry Key="Tier4" Value="{StaticResource A_Color_PlayerLevel_Background_Tier4}"/>
        <local:MappingConverterEntry Key="Tier5" Value="{StaticResource A_Color_PlayerLevel_Background_Tier5}"/>
        <local:MappingConverterEntry Key="Tier6" Value="{StaticResource A_Color_PlayerLevel_Background_Tier6}"/>
        <local:MappingConverterEntry Key="Tier7" Value="{StaticResource A_Color_PlayerLevel_Background_Tier7}"/>
        <local:MappingConverterEntry Key="Tier8" Value="{StaticResource A_Color_PlayerLevel_Background_Tier8}"/>
        <local:MappingConverterEntry Key="Tier9" Value="{StaticResource A_Color_PlayerLevel_Background_Tier9}"/>
        <local:MappingConverterEntry Key="Tier10" Value="{StaticResource A_Color_PlayerLevel_Background_Tier10}"/>
        <local:MappingConverterEntry Key="Tier11" Value="{StaticResource A_Color_PlayerLevel_Background_Tier11}"/>
        <local:MappingConverterEntry Key="Tier12" Value="{StaticResource A_Color_PlayerLevel_Background_Tier12}"/>
    </local:MappingConverter>
    
    <local:MappingConverter x:Key="A_Converter_XPTierToGradientColorB">
        <local:MappingConverterEntry Key="Tier1" Value="{StaticResource A_Color_PlayerLevel_Background_Tier1_GradientB}"/>
        <local:MappingConverterEntry Key="Tier2" Value="{StaticResource A_Color_PlayerLevel_Background_Tier2_GradientB}"/>
        <local:MappingConverterEntry Key="Tier3" Value="{StaticResource A_Color_PlayerLevel_Background_Tier3_GradientB}"/>
        <local:MappingConverterEntry Key="Tier4" Value="{StaticResource A_Color_PlayerLevel_Background_Tier4_GradientB}"/>
        <local:MappingConverterEntry Key="Tier5" Value="{StaticResource A_Color_PlayerLevel_Background_Tier5_GradientB}"/>
        <local:MappingConverterEntry Key="Tier6" Value="{StaticResource A_Color_PlayerLevel_Background_Tier6_GradientB}"/>
        <local:MappingConverterEntry Key="Tier7" Value="{StaticResource A_Color_PlayerLevel_Background_Tier7_GradientB}"/>
        <local:MappingConverterEntry Key="Tier8" Value="{StaticResource A_Color_PlayerLevel_Background_Tier8_GradientB}"/>
        <local:MappingConverterEntry Key="Tier9" Value="{StaticResource A_Color_PlayerLevel_Background_Tier9_GradientB}"/>
        <local:MappingConverterEntry Key="Tier10" Value="{StaticResource A_Color_PlayerLevel_Background_Tier10_GradientB}"/>
        <local:MappingConverterEntry Key="Tier11" Value="{StaticResource A_Color_PlayerLevel_Background_Tier11_GradientB}"/>
        <local:MappingConverterEntry Key="Tier12" Value="{StaticResource A_Color_PlayerLevel_Background_Tier12_GradientB}"/>
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_XPTierToReadableColor">
        <local:MappingConverterEntry Key="Tier1" Value="{StaticResource A_Color_PlayerLevel_ReadableOnBackground_Tier1}"/>
        <local:MappingConverterEntry Key="Tier2" Value="{StaticResource A_Color_PlayerLevel_ReadableOnBackground_Tier2}"/>
        <local:MappingConverterEntry Key="Tier3" Value="{StaticResource A_Color_PlayerLevel_ReadableOnBackground_Tier3}"/>
        <local:MappingConverterEntry Key="Tier4" Value="{StaticResource A_Color_PlayerLevel_ReadableOnBackground_Tier4}"/>
        <local:MappingConverterEntry Key="Tier5" Value="{StaticResource A_Color_PlayerLevel_ReadableOnBackground_Tier5}"/>
        <local:MappingConverterEntry Key="Tier6" Value="{StaticResource A_Color_PlayerLevel_ReadableOnBackground_Tier6}"/>
        <local:MappingConverterEntry Key="Tier7" Value="{StaticResource A_Color_PlayerLevel_ReadableOnBackground_Tier7}"/>
        <local:MappingConverterEntry Key="Tier8" Value="{StaticResource A_Color_PlayerLevel_ReadableOnBackground_Tier8}"/>
        <local:MappingConverterEntry Key="Tier9" Value="{StaticResource A_Color_PlayerLevel_ReadableOnBackground_Tier9}"/>
        <local:MappingConverterEntry Key="Tier10" Value="{StaticResource A_Color_PlayerLevel_ReadableOnBackground_Tier10}"/>
        <local:MappingConverterEntry Key="Tier11" Value="{StaticResource A_Color_PlayerLevel_ReadableOnBackground_Tier11}"/>
        <local:MappingConverterEntry Key="Tier12" Value="{StaticResource A_Color_PlayerLevel_ReadableOnBackground_Tier12}"/>
    </local:MappingConverter>

    <local:WristbandConverter x:Key="A_WristbandConverter_Text"
                       ColorConverter="{StaticResource A_Converter_XPTierToReadableColor}" />
    <local:XPConverter x:Key="A_XPConverter_Text"
                       ColorConverter="{StaticResource A_Converter_XPTierToReadableColor}" />
    <local:XPConverter x:Key="A_XPConverter_Prestige" StringMode="{x:Static local:XPConverterStringMode.Prestige}" />
    <local:HorizonOpenXPConverter x:Key="A_HorizonOpenXPConverter" />
    <local:TimeDurationNarrationConverter x:Key="A_TimeDurationNarrationConverter" />
    <local:CarClassConverter x:Key="A_CarClassConverter" />
    <local:PIConverter x:Key="A_PIConverter" />
    <local:DriveTypeConverter x:Key="A_DriveTypeConverter" />
    <local:PowertrainConverter x:Key="A_PowertrainConverter" />
    <local:NumUnitConverter x:Key="A_NumUnitConverter_ShowUnit_0dp" FractionDigits="0" ShowUnit="true" />
    <local:NumUnitConverter x:Key="A_NumUnitConverter_ShowUnit_0dp_InsertMarkup" FractionDigits="0" ShowUnit="true" InsertMarkup="True"/>
    <local:NumUnitConverter x:Key="A_NumUnitConverter_ShowUnit_0dp_Positive" FractionDigits="0" ShowUnit="true" PositiveSign="True" />
    <local:NumUnitConverter x:Key="A_NumUnitConverter_ShowUnit_2dp_InsertMarkup" FractionDigits="2" ShowUnit="True" InsertMarkup="True"/>
    <local:NumUnitConverter x:Key="A_NumUnitConverter_NoUnit_0dp" FractionDigits="0" ShowUnit="false" />
    <local:NumUnitConverter x:Key="A_NumUnitConverter_NoUnit_0dp_InsertMarkup" FractionDigits="0" ShowUnit="false" InsertMarkup="True"/>
    <local:NumUnitConverter x:Key="A_NumUnitConverter_NoUnit_1dp" FractionDigits="1" ShowUnit="false" />
    <local:NumUnitConverter x:Key="A_NumUnitConverter_Min2Digits_0dp" MinDigits="2" FractionDigits="0" ShowUnit="false" />
    <local:LinearTransformConverter x:Key="A_IntToFloatConverter" />
    <local:LinearTransformConverter x:Key="A_AddOneConverter"
        Add="1" />
    <local:MultiConverter x:Key="A_IndexToNumberConverter">
        <local:MultiConverterEntry Converter="{StaticResource A_AddOneConverter}" TargetType="{x:Type System:Int32}"/>
    </local:MultiConverter>

    <local:AbbreviatedTimeConverter x:Key="A_Converter_AbbreviatedTime"/>

    <ImageSource x:Key="A_BitmapImage_GamerPicFallback">/ForzaUI;component/Textures/Data_Bound/Anthem/GamerPics/Fallback.png</ImageSource>
    <ImageSource x:Key="A_BitmapImage_HorizonClubPicFallback">/ForzaUI;component/Textures/Data_Bound/Anthem/GamerPics/Fallback.png</ImageSource>

    <!--Default to large texture requests if ConverterParams are not provided-->
    <local:GamerPicConverter x:Key="A_GamerPicConverter"
        FallbackValue="{StaticResource A_BitmapImage_GamerPicFallback}"/>

    <local:StringToUpper x:Key="A_StringToUpper" />
    <local:StringToLower x:Key="A_StringToLower" />

    <local:MappingConverter x:Key="H_Converter_CollapsedIfNull" Default="Visible">
        <local:MappingConverterEntry Key="{x:Null}" Value="Collapsed"/>
    </local:MappingConverter>

    <local:TypeSafeConverter x:Key="A_TypeSafeConverter" />
    <local:TypeOfConverter x:Key="A_TypeOfConverter" />

    <local:MappingConverter x:Key="A_Converter_Season_To_Color" Default="#FF414141">
        <local:MappingConverterEntry Key="{x:Static local:Season.Spring}" Value="{StaticResource A_Color_Season_Spring}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Summer}" Value="{StaticResource A_Color_Season_Summer}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Autumn}" Value="{StaticResource A_Color_Season_Autumn}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Winter}" Value="{StaticResource A_Color_Season_Winter}"/>
    </local:MappingConverter>


    <local:MappingConverter x:Key="A_Converter_Season_To_String">
        <local:MappingConverterEntry Key="{x:Static local:Season.Spring}" Value="{local:Loc InGame.IDS_Season_Spring}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Summer}" Value="{local:Loc InGame.IDS_Season_Summer}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Autumn}" Value="{local:Loc InGame.IDS_Season_Autumn}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Winter}" Value="{local:Loc InGame.IDS_Season_Winter}"/>
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_Season_To_String_Highlight">
        <local:MappingConverterEntry Key="{x:Static local:Season.Spring}" Value="{local:Loc InGame.IDS_Season_Spring_Highlight}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Summer}" Value="{local:Loc InGame.IDS_Season_Summer_Highlight}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Autumn}" Value="{local:Loc InGame.IDS_Season_Autumn_Highlight}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Winter}" Value="{local:Loc InGame.IDS_Season_Winter_Highlight}"/>
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_Season_To_String_Global">
        <local:MappingConverterEntry Key="{x:Static local:Season.Spring}" Value="{local:Loc InGame.IDS_Season_Spring_Global}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Summer}" Value="{local:Loc InGame.IDS_Season_Summer_Global}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Autumn}" Value="{local:Loc InGame.IDS_Season_Autumn_Global}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Winter}" Value="{local:Loc InGame.IDS_Season_Winter_Global}"/>
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_Season_To_ShortForm_String">
        <local:MappingConverterEntry Key="{x:Static local:Season.Spring}" Value="{local:Loc InGame.IDS_Season_Spring_ShortForm_Upper}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Summer}" Value="{local:Loc InGame.IDS_Season_Summer_ShortForm_Upper}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Autumn}" Value="{local:Loc InGame.IDS_Season_Autumn_ShortForm_Upper}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Winter}" Value="{local:Loc InGame.IDS_Season_Winter_ShortForm_Upper}"/>
    </local:MappingConverter>

    <!--Converts thread bucket ID's into approproate Color -->
    <local:MappingConverter x:Key="A_Converter_ProgressionThreadIdToColor">
        <local:MappingConverterEntry Key="offline_currency" Value="{StaticResource PART_A_Color_ProgressionThread_offline_currency}"/>
        <local:MappingConverterEntry Key="asphalt_series" Value="{StaticResource PART_A_Color_ProgressionThread_asphalt_series}"/>
        <local:MappingConverterEntry Key="mixed_surface_series" Value="{StaticResource PART_A_Color_ProgressionThread_mixed_surface_series}"/>
        <local:MappingConverterEntry Key="cross_country_series" Value="{StaticResource PART_A_Color_ProgressionThread_cross_country_series}"/>
        <local:MappingConverterEntry Key="street_racing_series" Value="{StaticResource PART_A_Color_ProgressionThread_street_racing_series}"/>
        <local:MappingConverterEntry Key="midnight_battle" Value="{StaticResource PART_A_Color_ProgressionThread_street_racing_series}"/>
        <local:MappingConverterEntry Key="drag_racing" Value="{StaticResource PART_A_Color_ProgressionThread_drag_racing}"/>
        <local:MappingConverterEntry Key="drift_zones" Value="{StaticResource PART_A_Color_ProgressionThread_drift_zones}"/>
        <local:MappingConverterEntry Key="painter" Value="{StaticResource PART_A_Color_ProgressionThread_painter}"/>
        <local:MappingConverterEntry Key="tuner" Value="{StaticResource PART_A_Color_ProgressionThread_tuner}"/>
        <local:MappingConverterEntry Key="photo" Value="{StaticResource PART_A_Color_ProgressionThread_photo}"/>
        <local:MappingConverterEntry Key="blueprint" Value="{StaticResource PART_A_Color_ProgressionThread_blueprint}"/>
        <local:MappingConverterEntry Key="speed_trap" Value="{StaticResource PART_A_Color_ProgressionThread_speed_trap}"/>
        <local:MappingConverterEntry Key="speed_zone" Value="{StaticResource PART_A_Color_ProgressionThread_speed_zone}"/>
        <local:MappingConverterEntry Key="danger_sign" Value="{StaticResource PART_A_Color_ProgressionThread_danger_sign}"/>
        <local:MappingConverterEntry Key="trailblazer" Value="{StaticResource PART_A_Color_ProgressionThread_trailblazer}"/>
        <local:MappingConverterEntry Key="drag_event" Value="{StaticResource PART_A_Color_ProgressionThread_drag_event}"/>
        <local:MappingConverterEntry Key="car_collector" Value="{StaticResource PART_A_Color_ProgressionThread_car_collector}"/>
        <local:MappingConverterEntry Key="discovery" Value="{StaticResource PART_A_Color_ProgressionThread_discovery}"/>
        <local:MappingConverterEntry Key="rivals" Value="{StaticResource PART_A_Color_ProgressionThread_rivals}"/>
        <local:MappingConverterEntry Key="online_adventure_racing" Value="{StaticResource PART_A_Color_ProgressionThread_online_adventure_racing}"/>
        <local:MappingConverterEntry Key="skills" Value="{StaticResource PART_A_Color_ProgressionThread_skills}"/>
        <local:MappingConverterEntry Key="online_adventure_mixed" Value="{StaticResource PART_A_Color_ProgressionThread_online_adventure_mixed}"/>
        <local:MappingConverterEntry Key="online_adventure_playground_games" Value="{StaticResource PART_A_Color_ProgressionThread_online_adventure_playground_games}"/>
        <local:MappingConverterEntry Key="online_life_playground_games" Value="{StaticResource PART_A_Color_ProgressionThread_online_life_playground_games}"/>
        <local:MappingConverterEntry Key="streaming" Value="{StaticResource PART_A_Color_ProgressionThread_streaming}"/>
        <local:MappingConverterEntry Key="online_adventure_custom" Value="{StaticResource PART_A_Color_ProgressionThread_online_adventure_custom}" />
        <local:MappingConverterEntry Key="online_adventure_drift" Value="{StaticResource PART_A_Color_ProgressionThread_online_adventure_drift}" />
        <local:MappingConverterEntry Key="eliminator" Value="{StaticResource PART_A_Color_ProgressionThread_eliminator}" />
        <local:MappingConverterEntry Key="horizon_promo" Value="{StaticResource PART_A_Color_ProgressionThread_discovery}"/>
        <local:MappingConverterEntry Key="super_7" Value="{StaticResource PART_A_Color_ProgressionThread_super_7}" />
        <local:MappingConverterEntry Key="speed_series" Value="{StaticResource PART_A_Color_ProgressionThread_speed_series}"/>
        <local:MappingConverterEntry Key="extreme_series" Value="{StaticResource PART_A_Color_ProgressionThread_extreme_series}" />
        <local:MappingConverterEntry Key="dirt_rally" Value="{StaticResource PART_A_Color_ProgressionThread_dirt_rally}" />
        <local:MappingConverterEntry Key="mixed_rally" Value="{StaticResource PART_A_Color_ProgressionThread_mixed_rally}" />
        <local:MappingConverterEntry Key="road_rally" Value="{StaticResource PART_A_Color_ProgressionThread_road_rally}" />
        <local:MappingConverterEntry Key="street_dirt_rally" Value="{StaticResource PART_A_Color_ProgressionThread_street_dirt_rally}" />
    	<local:MappingConverterEntry Key="street_mixed_rally" Value="{StaticResource PART_A_Color_ProgressionThread_street_mixed_rally}" />
    	<local:MappingConverterEntry Key="street_road_rally" Value="{StaticResource PART_A_Color_ProgressionThread_street_road_rally}" />
        <local:MappingConverterEntry Key="rally_boss_battle_road" Value="{StaticResource PART_A_Color_ProgressionThread_rally_boss_battle_road}" />
        <local:MappingConverterEntry Key="rally_boss_battle_dirt" Value="{StaticResource PART_A_Color_ProgressionThread_rally_boss_battle_dirt}" />
        <local:MappingConverterEntry Key="rally_boss_battle_street" Value="{StaticResource PART_A_Color_ProgressionThread_rally_boss_battle_street}" />
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_RarityToColor" Default="#FFFFFFFF">
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.Common}" Value="{StaticResource A_Color_Rarity_Common}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.Rare}" Value="{StaticResource A_Color_Rarity_Rare}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.Epic}" Value="{StaticResource A_Color_Rarity_Epic}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.Legendary}" Value="{StaticResource A_Color_Rarity_Legendary}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.BarnFind}" Value="{StaticResource A_Color_Rarity_Legendary}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.TreasureCar}" Value="{StaticResource A_Color_Rarity_Legendary}" />
    </local:MappingConverter>
    
    <local:MappingConverter x:Key="A_Converter_RarityToNameString" CheckEnumKey="XAMLRarity">
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.Common}" Value="{Convert {local:Loc Main.IDS_Rarity_Common}, Converter={StringToUpper}}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.Rare}" Value="{Convert {local:Loc Main.IDS_Rarity_Rare}, Converter={StringToUpper}}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.Epic}" Value="{Convert {local:Loc Main.IDS_Rarity_Epic}, Converter={StringToUpper}}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.Legendary}" Value="{Convert {local:Loc Main.IDS_Rarity_Legendary}, Converter={StringToUpper}}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.HorizonEdition}" Value="{Convert {local:Loc Main.IDS_Rarity_HorizonEdition}, Converter={StringToUpper}}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.BarnFind}" Value="{Convert {local:Loc Main.IDS_Rarity_BarnFind}, Converter={StringToUpper}}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.TreasureCar}" Value="{Convert {local:Loc Main.IDS_Rarity_TreasureCar}, Converter={StringToUpper}}" />
    </local:MappingConverter>

    <local:MultiConverter x:Key="A_Converter_RarityToUpperNameString">
        <MultiConverterEntry Converter="{StaticResource A_Converter_RarityToNameString}" TargetType="{Type String}"/>
        <MultiConverterEntry Converter="{StaticResource A_StringToUpper}" TargetType="{Type String}"/>
    </local:MultiConverter>

    <local:MappingConverter x:Key="A_Converter_CarRarityToTextColor" Default="{StaticResource H_Color_Primary_White}">
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.HorizonEdition}" Value="{StaticResource H_Color_Primary_White}" />
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_RewardTypeToIcon">
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Credits}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/Credits.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Currency}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/Influence.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Car}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/Car.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Clothing}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/Clothing.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Horn}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/Horn.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Music}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/Song.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.QuickChatPhrase}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/QuickChatPhrase.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Emote}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/Emote.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.SuperWheelspin}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/SuperWheelspin.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Wheelspin}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/WheelSpin.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.BarnFindRumour}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/BarnFind.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.SkillPoints}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/SkillPoints.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.LiveryDecals}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/LiveryDecal.png" />
    </local:MappingConverter>

    <MappingConverter x:Key="H_Converter_RewardTypeToIconEffect" Default="{x:Null}">
        <MappingConverterEntry Key="{x:Static UIRewardType.LiveryDecals}">
            <MappingConverterEntry.Value>
                <LinearToSRGBEffect />
            </MappingConverterEntry.Value>
        </MappingConverterEntry>
    </MappingConverter>

    <local:MappingConverter x:Key="A_Converter_RewardSubTypeToIcon">
        <local:MappingConverterEntry Key="CareerProgress" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/CareerProgress.png" />
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_PrizeTypeToImageSource_Badge"
                            Default="game:\Media\UI\Textures\Data_Bound\Reward\prize_icon.png">
        <MappingConverterEntry Key="{x:Static local:UIRewardType.Car}"
                               Value="game:\Media\UI\Textures\Data_Bound\Reward\car_prize_icon.png" />
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_RewardTypeToString">
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Credits}" Value="{local:Loc Rivals.IDS_RewardType_Credits}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Currency}" Value="{local:Loc Rivals.IDS_RewardType_Influence}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Car}" Value="{local:Loc Rivals.IDS_RewardType_Car}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Clothing}" Value="{local:Loc Rivals.IDS_RewardType_Clothing}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Horn}" Value="{local:Loc Rivals.IDS_RewardType_Horn}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.QuickChatPhrase}" Value="{local:Loc Rivals.IDS_RewardType_QuickChatPhrase}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Emote}" Value="{local:Loc Rivals.IDS_RewardType_Emote}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Wheelspin}" Value="{local:Loc Rivals.IDS_RewardType_Wheelspin}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.SuperWheelspin}" Value="{local:Loc Rivals.IDS_RewardType_SuperWheelspin}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.SkillPoints}" Value="{local:Loc Rivals.IDS_RewardType_SkillPoints}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Badge}" Value="{local:Loc Rivals.IDS_RewardType_Badge}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Music}" Value="{local:Loc Rivals.IDS_RewardType_Music}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.LiveryDecals}" Value="{local:Loc Rivals.IDS_RewardType_LiveryDecals}" />
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_RewardTypeToNewString">
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Credits}" Value="{local:Loc Rivals.IDS_RewardTitle_Credits}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Currency}" Value="{local:Loc Rivals.IDS_RewardTitle_Influence}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Car}" Value="{local:Loc Rivals.IDS_RewardTitle_Car}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Clothing}" Value="{local:Loc Rivals.IDS_RewardTitle_Clothing}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Horn}" Value="{local:Loc Rivals.IDS_RewardTitle_Horn}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.QuickChatPhrase}" Value="{local:Loc Rivals.IDS_RewardTitle_QuickChatPhrase}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Emote}" Value="{local:Loc Rivals.IDS_RewardTitle_Emote}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Wheelspin}" Value="{local:Loc Rivals.IDS_RewardTitle_Wheelspin}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.SuperWheelspin}" Value="{local:Loc Rivals.IDS_RewardTitle_SuperWheelspin}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.BarnFindRumour}" Value="{local:Loc Rivals.IDS_RewardTitle_BarnFindRumour}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.SkillPoints}" Value="{local:Loc Rivals.IDS_RewardTitle_SkillPoints}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Badge}" Value="{local:Loc Rivals.IDS_RewardType_Badge}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Music}" Value="{local:Loc Rivals.IDS_RewardType_Music}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.LiveryDecals}" Value="{local:Loc Rivals.IDS_RewardType_LiveryDecals}" />
    </local:MappingConverter>

    <local:StringFormatConverter x:Key="A_Converter_StringFormatConverter" />


    <MultiConverter x:Key="A_NumUnitConverter_NoUnit_0dp_WithMultiplier">
        <MultiConverterEntry Converter="{StaticResource A_NumUnitConverter_NoUnit_0dp}" TargetType="{Type String}"/>
        <MultiConverterEntry Converter="{StaticResource A_Converter_StringFormatConverter}" Parameter="{Loc InGame.IDS_Rewards_MultiplierFormat}" TargetType="{Type String}"/>
    </MultiConverter>



    <System:Boolean x:Key="A_Boolean_False">False</System:Boolean>
    <System:Boolean x:Key="A_Boolean_True">True</System:Boolean>

    
    <local:MappingConverter x:Key="A_Converter_Boolean_Invert">
        <local:MappingConverterEntry Key="{StaticResource A_Boolean_True}" Value="{StaticResource A_Boolean_False}"/>
        <local:MappingConverterEntry Key="{StaticResource A_Boolean_False}" Value="{StaticResource A_Boolean_True}"/>
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_TrueIfNotNull" Default="{StaticResource A_Boolean_True}">
        <local:MappingConverterEntry Key="{x:Null}" Value="{StaticResource A_Boolean_False}"/>
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_Categories_CountToVisibility" Default="{x:Static Visibility.Visible}">
        <local:MappingConverterEntry Key="1" Value="{x:Static Visibility.Collapsed}"/>
        <local:MappingConverterEntry Key="0" Value="{x:Static Visibility.Collapsed}"/>
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_RewardTypeShouldUseNoRarityColor" Default="{StaticResource A_Boolean_True}">
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Credits}" Value="{StaticResource A_Boolean_False}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Currency}" Value="{StaticResource A_Boolean_False}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Clothing}" Value="{StaticResource A_Boolean_False}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Emote}" Value="{StaticResource A_Boolean_False}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Car}" Value="{StaticResource A_Boolean_False}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Horn}" Value="{StaticResource A_Boolean_False}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.QuickChatPhrase}" Value="{StaticResource A_Boolean_False}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Badge}" Value="{StaticResource A_Boolean_False}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Music}" Value="{StaticResource A_Boolean_False}" />
    </local:MappingConverter>


    <local:MappingConverter x:Key="A_Converter_LockState_To_Boolean" Default="{StaticResource A_Boolean_False}" CheckEnumKey="LockState">
        <local:MappingConverterEntry Key="{x:Static local:LockState.Unlocked}" Value="{StaticResource A_Boolean_True}"/>
        <local:MappingConverterEntry Key="{x:Static local:LockState.Locked}" Value="{StaticResource A_Boolean_False}"/>
    </local:MappingConverter>

    <System:String x:Key="A_String_0FormatString">{0}</System:String>
    <System:String x:Key="A_String_01FormatString">{0}{1}</System:String>
    <System:String x:Key="A_String_012FormatString">{0}{1}{2}</System:String>
    <System:String x:Key="A_String_0123FormatString">{0}{1}{2}{3}</System:String>

    <local:MultiConverter x:Key="A_ObjectToStringConverter">
        <local:MultiConverterEntry Converter="{StaticResource A_Converter_StringFormatConverter}" Parameter="{StaticResource A_String_0FormatString}" TargetType="{x:Type System.String}" />
    </local:MultiConverter>

    <local:MultiConverter x:Key="A_CarClassToStringConverter">
        <local:MultiConverterEntry Converter="{StaticResource A_CarClassConverter}" TargetType="{x:Type System.String}" />
    </local:MultiConverter>

    <local:MultiConverter x:Key="A_PowertrainToStringConverter">
        <local:MultiConverterEntry Converter="{StaticResource A_PowertrainConverter}" Parameter="text" TargetType="{x:Type System.String}" />
    </local:MultiConverter>

    <local:MappingConverter x:Key="A_Converter_VisibleIfEqual"
                            Default="{x:Static Visibility.Collapsed}">
        <local:MappingConverterEntry Key="{x:Static local:CompareResult.Equal}" Value="{x:Static Visibility.Visible}" />
    </local:MappingConverter>
    <local:MappingConverter x:Key="A_Converter_VisibleIfGreaterThan"
                            Default="{x:Static Visibility.Collapsed}">
        <local:MappingConverterEntry Key="{x:Static local:CompareResult.GreaterThan}" Value="{x:Static Visibility.Visible}" />
    </local:MappingConverter>
    <local:MappingConverter x:Key="A_Converter_VisibleIfGreaterThan_UseHidden"
                        Default="{x:Static Visibility.Hidden}">
        <local:MappingConverterEntry Key="{x:Static local:CompareResult.GreaterThan}" Value="{x:Static Visibility.Visible}" />
    </local:MappingConverter>
    <local:MappingConverter x:Key="A_Converter_VisibleIfLessThan"
                            Default="{x:Static Visibility.Collapsed}">
        <local:MappingConverterEntry Key="{x:Static local:CompareResult.LessThan}" Value="{x:Static Visibility.Visible}" />
    </local:MappingConverter>
    <local:MappingConverter x:Key="A_Converter_VisibleIfGreaterThanOrEqual"
                            Default="{x:Static Visibility.Collapsed}">
        <local:MappingConverterEntry Key="{x:Static local:CompareResult.GreaterThan}" Value="{x:Static Visibility.Visible}" />
        <local:MappingConverterEntry Key="{x:Static local:CompareResult.Equal}" Value="{x:Static Visibility.Visible}" />
    </local:MappingConverter>
	

    <System:Int32 x:Key="A_Int32_Zero">0</System:Int32>
    <System:Int32 x:Key="A_Int32_One">1</System:Int32>
    <System:Int32 x:Key="A_Int32_OneHundred">100</System:Int32>
    <local:MultiConverter x:Key="A_Converter_VisibleIfGreaterThanZero">
        <local:MultiConverterEntry Converter="{StaticResource A_CompareConverter}" Parameter="{StaticResource A_Int32_Zero}"/>
        <local:MultiConverterEntry Converter="{StaticResource A_Converter_VisibleIfGreaterThan}"/>
    </local:MultiConverter>
    <local:MultiConverter x:Key="A_Converter_VisibleIfGreaterThanZero_UseHidden">
        <local:MultiConverterEntry Converter="{StaticResource A_CompareConverter}" Parameter="{StaticResource A_Int32_Zero}"/>
        <local:MultiConverterEntry Converter="{StaticResource A_Converter_VisibleIfGreaterThan_UseHidden}"/>
    </local:MultiConverter>
    <local:MultiConverter x:Key="A_Converter_VisibleIfGreaterOrEqualZero">
        <local:MultiConverterEntry Converter="{StaticResource A_CompareConverter}" Parameter="{StaticResource A_Int32_Zero}"/>
        <local:MultiConverterEntry Converter="{StaticResource A_Converter_VisibleIfGreaterThanOrEqual}"/>
    </local:MultiConverter>
    <local:MultiConverter x:Key="A_Converter_VisibleIfLessThanZero">
        <local:MultiConverterEntry Converter="{StaticResource A_CompareConverter}" Parameter="{StaticResource A_Int32_Zero}"/>
        <local:MultiConverterEntry Converter="{StaticResource A_Converter_VisibleIfLessThan}"/>
    </local:MultiConverter>
    <local:MultiConverter x:Key="A_Converter_VisibleIfGreaterOrEqualOne">
        <local:MultiConverterEntry Converter="{StaticResource A_CompareConverter}" Parameter="{StaticResource A_Int32_One}"/>
        <local:MultiConverterEntry Converter="{StaticResource A_Converter_VisibleIfGreaterThanOrEqual}"/>
    </local:MultiConverter>
    <local:MultiConverter x:Key="A_Converter_VisibleIfLessThanOne">
        <local:MultiConverterEntry Converter="{StaticResource A_CompareConverter}" Parameter="{StaticResource A_Int32_One}"/>
        <local:MultiConverterEntry Converter="{StaticResource A_Converter_VisibleIfLessThan}"/>
    </local:MultiConverter>

    <local:TrimInlineMarkupConverter x:Key="A_Converter_TrimInlineMarkup"/>

    <local:StringSubstitutionConverter x:Key="A_Converter_NewlinesToVoicedLineSeparator">
        <local:StringSubstitution Find="&#x0a;" Replace="{local:Loc Main.IDS_ScreenReader_VoicedLineSeparator}"/>
    </local:StringSubstitutionConverter>

    <local:MultiConverter x:Key="A_Converter_TrimInlineMarkupAndNewlines">
        <local:MultiConverterEntry Converter="{StaticResource A_Converter_NewlinesToVoicedLineSeparator}" />
        <local:MultiConverterEntry Converter="{StaticResource A_Converter_TrimInlineMarkup}" />
    </local:MultiConverter>

    <local:MultiConverter x:Key="A_Converter_TrimInlineMarkupAndToUpper">
        <local:MultiConverterEntry Converter="{StaticResource A_Converter_TrimInlineMarkup}" />
        <local:MultiConverterEntry Converter="{StaticResource A_StringToUpper}" />
    </local:MultiConverter>

    <local:LinearTransformConverter x:Key="A_Converter_SubtitlesFontSizeValue" Sub="18" Add="1" />



    <local:MappingConverter x:Key="A_MappingConverter_ShowMassUnlockPanelStateToADescription"
        Default="{local:Loc HelpButtons.IDS_Select}">
        <local:MappingConverterEntry Key="{StaticResource A_Boolean_True}" Value="{local:Loc HelpButtons.IDS_OK}" />
    </local:MappingConverter>

    <MappingConverter x:Key="H_Converter_IsTrackDefault"
                      Default="{StaticResource A_Boolean_False}">
        <MappingConverterEntry Key="{Static XAMLTrack.Default}" Value="{StaticResource A_Boolean_True}" />
    </MappingConverter>

    <MappingConverter x:Key="H_Converter_IsTrackNotAnExpansion"
                      Default="{StaticResource A_Boolean_False}">
        <MappingConverterEntry Key="{Static XAMLTrack.Default}" Value="{StaticResource A_Boolean_True}" />
    </MappingConverter>

    <MappingConverter x:Key="H_Converter_TileStateDisabledOnTrackDefault"
                      Default="{Static TileState.Enabled}">
        <MappingConverterEntry Key="{Static XAMLTrack.Default}" Value="{Static TileState.Disabled}" />
    </MappingConverter>

    <MappingConverter x:Key="H_Converter_IsTrackExpansionOne"
                      Default="{StaticResource A_Boolean_False}">
        <MappingConverterEntry Key="{Static XAMLTrack.ExpansionOne}" Value="{StaticResource A_Boolean_True}" />
    </MappingConverter>

    <MappingConverter x:Key="H_Converter_IsTrackExpansionTwo"
                      Default="{StaticResource A_Boolean_False}">
        <MappingConverterEntry Key="{Static XAMLTrack.ExpansionTwo}" Value="{StaticResource A_Boolean_True}" />
    </MappingConverter>

    <MappingConverter x:Key="H_Converter_TileStateDisabledOnTrackExpansionOne"
                      Default="{Static TileState.Enabled}">
        <MappingConverterEntry Key="{Static XAMLTrack.ExpansionOne}" Value="{Static TileState.Disabled}" />
    </MappingConverter>

    <MappingConverter x:Key="H_Converter_TileStateDisabledOnTrackExpansionTwo"
                      Default="{Static TileState.Enabled}">
        <MappingConverterEntry Key="{Static XAMLTrack.ExpansionTwo}" Value="{Static TileState.Disabled}" />
    </MappingConverter>

    <MappingConverter x:Key="H_Converter_InvertTileState"
                      Default="{Static TileState.Enabled}">
        <MappingConverterEntry Key="{Static TileState.Enabled}" Value="{Static TileState.Disabled}" />
        <MappingConverterEntry Key="{Static TileState.EnabledNonInteractive}" Value="{Static TileState.Disabled}" />
    </MappingConverter>

    <MappingConverter x:Key="H_Converter_VisibleIfAccolade" Default="{Static Visibility.Collapsed}">
        <MappingConverterEntry Key="{Static XAMLChallengeCategory.Career}" Value="{Static Visibility.Visible}"/>
    </MappingConverter>

    <local:FZGridLengthConverter x:Key="H_FZGridLengthConverter" />

    <local:IsANumberConverter x:Key="H_IsANumberConverter"/>

    <MultiConverter x:Key="H_NumberToVisibilityConverter">
        <MultiConverterEntry Converter="{StaticResource H_IsANumberConverter}"/>
        <MultiConverterEntry Converter="{StaticResource A_Converter_BoolToVis}"/>
    </MultiConverter>


    <Identifier64 x:Key="H_Id_DiscoverCampaign">6d6bd7ca-be43-5f46-bdba-093615786170</Identifier64>
    <Identifier64 x:Key="H_Id_FestivalCampaign">e366b86a-fbce-3a49-a0a8-2895039655db</Identifier64>

    <MappingConverter x:Key="H_Converter_CampaignToColour"
                      Default="">
        <MappingConverterEntry Key="{StaticResource H_Id_DiscoverCampaign}"
                               Value="{StaticResource A_Color_Campaign_Discover}" />
        <MappingConverterEntry Key="{StaticResource H_Id_FestivalCampaign}"
                               Value="{StaticResource A_Color_Campaign_Festival}" />
    </MappingConverter>

    <MappingConverter x:Key="H_Converter_CampaignToTitleBlock"
                      Default="">
        <MappingConverterEntry Key="{StaticResource H_Id_DiscoverCampaign}"
                               Value="game:\Media\UI\Textures\Data_Bound\CollectionCampaign\Discover_Japan_Header.png" />
        <MappingConverterEntry Key="{StaticResource H_Id_FestivalCampaign}"
                               Value="game:\Media\UI\Textures\Data_Bound\CollectionCampaign\Horizon_Festival_Header.png" />
    </MappingConverter>

    <MappingConverter x:Key="H_Converter_CampaignToItemTexture"
                      Default="">
        <MappingConverterEntry Key="{StaticResource H_Id_DiscoverCampaign}"
                               Value="game:\Media\UI\Textures\Data_Bound\CollectionCampaign\Child_Default_Background_Discover.png" />
        <MappingConverterEntry Key="{StaticResource H_Id_FestivalCampaign}"
                               Value="game:\Media\UI\Textures\Data_Bound\CollectionCampaign\Child_Default_Background.png" />
    </MappingConverter>


    <local:MappingConverter x:Key="A_MappingConverter_PickupType_To_Name">
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekHiderPickup.SeekerReveal}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_SeekerReveal}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekSeekerPickup.FastTravel}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_FastTravel}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekHiderPickup.TorqueDrain}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_TorqueDrain}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekSeekerPickup.HiderHorn}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_HiderHorn}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekHiderPickup.CarSwap}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_CarSwap}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekSeekerPickup.CarReveal}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_CarReveal}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekHiderPickup.DetectionRecovery}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_DetectionRecovery}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekSeekerPickup.HiderCompass}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_HiderCompass}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekSharedPickup.TorqueIncrease}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_TorqueIncrease}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekSharedPickup.InstantReward}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_InstantReward}" />
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_MappingConverter_PickupType_To_Name_UpperCase">
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekHiderPickup.SeekerReveal}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_SeekerReveal_UpperCase}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekSeekerPickup.FastTravel}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_FastTravel_UpperCase}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekHiderPickup.TorqueDrain}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_TorqueDrain_UpperCase}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekSeekerPickup.HiderHorn}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_HiderHorn_UpperCase}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekHiderPickup.CarSwap}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_CarSwap_UpperCase}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekSeekerPickup.CarReveal}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_CarReveal_UpperCase}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekHiderPickup.DetectionRecovery}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_DetectionRecovery_UpperCase}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekSeekerPickup.HiderCompass}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_HiderCompass_UpperCase}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekSharedPickup.TorqueIncrease}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_TorqueIncrease_UpperCase}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekSharedPickup.InstantReward}" Value="{Loc HideSeek.IDS_ProgressStatus_PickupName_InstantReward_UpperCase}" />
    </local:MappingConverter>

</ResourceDictionary>