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

    <Color x:Key="A_Color_ActivationNameText">#FFFEFEFE</Color>

    <Color x:Key="A_Color_GoliathActivation">#FFE51F79</Color>

    <Color x:Key="A_Color_EvolvingWorld_ColorA">#FFCA238F</Color>
    <Color x:Key="A_Color_EvolvingWorld_ColorB">#FF39BCD3</Color>

    <!-- related with spatial discovery animation-->
    <KeyTime x:Key="time_hide_undiscovered">0:0:0.0</KeyTime>
    <KeyTime x:Key="time_show_discovered">0:0:0.5</KeyTime>
    <KeyTime x:Key="time_show_icon_speed_up">0:0:0.6</KeyTime>
    <KeyTime x:Key="duration_show_icon">0:0:1.26</KeyTime>

    <local:FZMaterialPresetRoundtangle x:Key="A_FZMaterialPresetRoundtangle_Bucketlist_GamerPic" CornerRadius="3"/>

    <!-- Icon -->

    <System:Double x:Key="A_Double_SpatialIconDefault_Width">210</System:Double>
    <System:Double x:Key="A_Double_SpatialIconDefault_Height">159</System:Double>

    <Style x:Key="A_FZMaterial_SpatialIcon" TargetType="local:FZMaterial">
        <Setter Property="Stretch" Value="Uniform"/>
        <Setter Property="Height" Value="{StaticResource A_Double_SpatialIconDefault_Height}"/>
        <Setter Property="Width" Value="{StaticResource A_Double_SpatialIconDefault_Width}"/>
        <Setter Property="HorizontalAlignment" Value="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource FindAncestor, AncestorType=ContentControl}}"/>
        <Setter Property="VerticalAlignment" Value="{Binding VerticalContentAlignment, RelativeSource={RelativeSource FindAncestor, AncestorType=ContentControl}}"/>
    </Style>

    <local:MappingConverter x:Key="A_Converter_ActiveTrackToSpatialIconLocation"
                            Default="/ForzaUI;component/Textures/Data_Bound/Spatial/">
        <local:MappingConverterEntry Key="{x:Static local:XAMLTrack.ExpansionTwo}" Value="/ForzaUI;component/Textures/Data_Bound/PDLC2/Spatial/" />
    </local:MappingConverter>

    <Style x:Key="A_FZMaterial_TrackSpecificSpatialIcon"
        TargetType="local:FZMaterial"
        BasedOn="{StaticResource A_FZMaterial_SpatialIcon}">
        <Setter Property="local:MultiStringFormatter.Format" Value="{StaticResource A_String_01FormatString}"/>
        <Setter Property="local:MultiStringFormatter.Param0" Value="{Binding ActiveTrack, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_ActiveTrackToSpatialIconLocation}}"/>
        <Setter Property="ImageSourceNoPreload" Value="{Binding (local:MultiStringFormatter.Output), RelativeSource={RelativeSource Self}}"/>
    </Style>

    <local:MappingConverter x:Key="A_Converter_ActiveTrackToUndiscoveredEventIcon"
                            Default="/ForzaUI;component/Textures/Data_Bound/Spatial/undiscovered.png">
        <local:MappingConverterEntry Key="{x:Static local:XAMLTrack.ExpansionTwo}" Value="/ForzaUI;component/Textures/Data_Bound/PDLC2/Spatial/unknown_race_event.png" />
    </local:MappingConverter>

    <Size x:Key="A_Size_Spatial_GamerPicSizeParams">342,342</Size>

    <ControlTemplate x:Key="SpatialIconTemplate" TargetType="ContentControl">
        <ContentPresenter/>

        <ControlTemplate.Resources>
            <DataTemplate DataType="{x:Type local:BeautySpotAugmentedRealityDataSource}">
                <local:FZMaterial local:MultiStringFormatter.Param1="beauty_spot.png"
                                  Style="{StaticResource A_FZMaterial_TrackSpecificSpatialIcon}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:BucketListAugmentedRealityDataSource}">
                <DataTemplate.Resources>
                    <local:FZMaterialPresetRoundtangle x:Key="A_FZMaterialPresetRoundtangle_Story"
                                                       CornerRadius="54,54,6,6" />

                    <Style x:Key="A_FZMaterial_BucketListSpatialIcon"
                        TargetType="local:FZMaterial"
                        BasedOn="{StaticResource A_FZMaterial_SpatialIcon}">
                        <Setter Property="Preset" Value="{StaticResource A_FZMaterialPresetRoundtangle_Story}"/>
                        <Setter Property="ImageSource" Value="{Binding IconPath}"/>
                    </Style>
                </DataTemplate.Resources>
                
                <Grid HorizontalAlignment="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource FindAncestor, AncestorType=ContentControl}}"
                      VerticalAlignment="{Binding VerticalContentAlignment, RelativeSource={RelativeSource FindAncestor, AncestorType=ContentControl}}">
                    <local:FZMaterial Style="{StaticResource A_FZMaterial_BucketListSpatialIcon}" />
                </Grid>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:BucketListBlueprintAugmentedRealityDataSource}">
                <Grid>
                    <local:FZMaterial x:Name="FZMaterial_Icon"
                                      ImageSourceNoPreload="/ForzaUI;component/Textures/Data_Bound/Spatial/bucketlist_blueprint.png"
                                      Style="{StaticResource A_FZMaterial_SpatialIcon}"
                                      Visibility="{Binding HasChallenge, Converter={StaticResource A_FZBooleanToVisibilityConverter_Inverse}}"/>
                    <Decorator Visibility="{Binding HasChallenge, Converter={StaticResource A_FZBooleanToVisibilityConverter}}">
                        <local:FZMaterial x:Name="FZMaterial_GamerPic"
                                      ImageSource="{Binding UserProfileDataSource, Converter={StaticResource A_GamerPicConverter}, ConverterParameter={StaticResource A_Size_Spatial_GamerPicSizeParams}}"
                                      Preset="{StaticResource A_FZMaterialPresetRoundtangle_Bucketlist_GamerPic}"
                                      Style="{StaticResource A_FZMaterial_SpatialIcon}"
                                      Height="130"
                                      Visibility="{Binding Downloaded, RelativeSource={RelativeSource Self}, Converter={FZBooleanToVisibilityConverter}}"/>
                    </Decorator>
                </Grid>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:TrackSwapAugmentedRealityDataSource}">
                <local:FZMaterial ImageSource="{Binding IconTexture}" Style="{StaticResource A_FZMaterial_SpatialIcon}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:DeprecatedAugmentedRealityDataSource}">
                <local:FZMaterial ImageSource="{Binding IconTexture}" Style="{StaticResource A_FZMaterial_SpatialIcon}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:SIDIAugmentedRealityDataSource}">
                <local:FZMaterial ImageSource="{Binding IconTexture}" Style="{StaticResource A_FZMaterial_SpatialIcon}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:DragMeetAugmentedRealityDataSource}">
                <local:FZMaterial ImageSource="{Binding IconTexture}" Style="{StaticResource A_FZMaterial_SpatialIcon}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:EliminatorLootAugmentedRealityDataSource}">
                <DataTemplate.Resources>
                    <local:MappingConverter x:Key="A_Converter_LootLevelToTexture_AR">
                        <local:MappingConverterEntry Key="1" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/Spatial/Level_1.png" />
                        <local:MappingConverterEntry Key="2" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/Spatial/Level_2.png" />
                        <local:MappingConverterEntry Key="3" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/Spatial/Level_3.png" />
                        <local:MappingConverterEntry Key="4" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/Spatial/Level_4.png" />
                        <local:MappingConverterEntry Key="5" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/Spatial/Level_5.png" />
                        <local:MappingConverterEntry Key="6" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/Spatial/Level_6.png" />
                        <local:MappingConverterEntry Key="7" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/Spatial/Level_7.png" />
                        <local:MappingConverterEntry Key="8" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/Spatial/Level_8.png" />
                        <local:MappingConverterEntry Key="9" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/Spatial/Level_9.png" />
                        <local:MappingConverterEntry Key="10" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/Spatial/Level_10.png" />
                    </local:MappingConverter>

                    <local:MappingConverter x:Key="A_Converter_LootLevelToTexture_Hud">
                        <local:MappingConverterEntry Key="1" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/LootActivationHud/Level_1.png" />
                        <local:MappingConverterEntry Key="2" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/LootActivationHud/Level_2.png" />
                        <local:MappingConverterEntry Key="3" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/LootActivationHud/Level_3.png" />
                        <local:MappingConverterEntry Key="4" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/LootActivationHud/Level_4.png" />
                        <local:MappingConverterEntry Key="5" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/LootActivationHud/Level_5.png" />
                        <local:MappingConverterEntry Key="6" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/LootActivationHud/Level_6.png" />
                        <local:MappingConverterEntry Key="7" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/LootActivationHud/Level_7.png" />
                        <local:MappingConverterEntry Key="8" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/LootActivationHud/Level_8.png" />
                        <local:MappingConverterEntry Key="9" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/LootActivationHud/Level_9.png" />
                        <local:MappingConverterEntry Key="10" Value="/ForzaUI;component/Textures/Data_Bound/Eliminator/LootActivationHud/Level_10.png" />
                    </local:MappingConverter>
                </DataTemplate.Resources>

                <local:FZMaterial>
                    <local:FZMaterial.Style>
                        <Style TargetType="local:FZMaterial" BasedOn="{StaticResource A_FZMaterial_SpatialIcon}">
                            <Style.Triggers>
                                <DataTrigger Binding="{Binding Tag, RelativeSource={RelativeSource FindAncestor, AncestorType=ContentControl}}" Value="AR">
                                    <Setter Property="ImageSourceNoPreload" Value="{Binding CarInfo.CarGrade, Converter={StaticResource A_Converter_LootLevelToTexture_AR}}"/>
                                </DataTrigger>
                                <DataTrigger Binding="{Binding Tag, RelativeSource={RelativeSource FindAncestor, AncestorType=ContentControl}}" Value="HUD">
                                    <Setter Property="ImageSourceNoPreload" Value="{Binding CarInfo.CarGrade, Converter={StaticResource A_Converter_LootLevelToTexture_Hud}}"/>
                                </DataTrigger>
                            </Style.Triggers>
                        </Style>
                    </local:FZMaterial.Style>
                </local:FZMaterial>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:HideSeekPickupAugmentedRealityDataSource}">
                <DataTemplate.Resources>
                    <local:MappingConverter x:Key="A_Converter_TagToIconsFolder">
                        <local:MappingConverterEntry Key="AR" Value="/ForzaUI;component/Textures/Data_Bound/Hide_Seek/Spatials/AR/" />
                        <local:MappingConverterEntry Key="HUD" Value="/ForzaUI;component/Textures/Data_Bound/Hide_Seek/Spatials/HUD/" />
                    </local:MappingConverter>

                    <local:MappingConverter x:Key="A_Converter_PickupTypeToIconName">
                        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekHiderPickup.SeekerReveal}" Value="seeker_reveal" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekSeekerPickup.FastTravel}" Value="fast_travel" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekHiderPickup.TorqueDrain}" Value="power_drain" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekSeekerPickup.HiderHorn}" Value="hider_horn" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekHiderPickup.CarSwap}" Value="car_swap" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekSeekerPickup.CarReveal}" Value="car_reveal" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekHiderPickup.DetectionRecovery}" Value="detection_recovery" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekSeekerPickup.HiderCompass}" Value="hider_compass" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekSharedPickup.TorqueIncrease}" Value="power_increase" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLHideSeekSharedPickup.InstantReward}" Value="instant_reward" />
                    </local:MappingConverter>

                    <local:MappingConverter x:Key="A_Converter_IsLocalPlayerHiderToIconEnding">
                        <local:MappingConverterEntry Key="True" Value="_hider.png" />
                        <local:MappingConverterEntry Key="False" Value="_seeker.png" />
                    </local:MappingConverter>
                </DataTemplate.Resources>

                <local:FZMaterial>
                    <local:FZMaterial.Style>
                        <Style TargetType="local:FZMaterial" BasedOn="{StaticResource A_FZMaterial_SpatialIcon}">
                            <Setter Property="local:MultiStringFormatter.Format" Value="{StaticResource A_String_012FormatString}"/>
                            <Setter Property="local:MultiStringFormatter.Param0" Value="{Binding Tag, RelativeSource={RelativeSource FindAncestor, AncestorType=ContentControl}, Converter={StaticResource A_Converter_TagToIconsFolder}}"/>
                            <Setter Property="local:MultiStringFormatter.Param1" Value="{Binding PickupType, Converter={StaticResource A_Converter_PickupTypeToIconName}}"/>
                            <Setter Property="local:MultiStringFormatter.Param2" Value="{Binding IsLocalPlayerHider, Converter={StaticResource A_Converter_IsLocalPlayerHiderToIconEnding}}" />
                            <Setter Property="ImageSourceNoPreload" Value="{Binding (local:MultiStringFormatter.Output), RelativeSource={RelativeSource Self}}"/>
                        </Style>
                    </local:FZMaterial.Style>
                </local:FZMaterial>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:FestivalSiteAugmentedRealityDataSource}">
                <DataTemplate.Resources>
                    <local:MappingConverter x:Key="A_Converter_FestivalSiteImageSource">
                        <local:MappingConverterEntry Key="MainOutpost" Value="HorizonFestival_Main.png" />
                        <local:MappingConverterEntry Key="LegendIslandOutpost" Value="HorizonFestival_LegendIsland.png" />
                    </local:MappingConverter>
                    <Style x:Key="A_FZMaterial_FestivalSpecificSpatialIcon" BasedOn="{StaticResource A_FZMaterial_TrackSpecificSpatialIcon}" TargetType="local:FZMaterial" >
                        <Setter Property="local:MultiStringFormatter.Param1" Value="{Binding FestivalSiteId, Converter={StaticResource A_Converter_FestivalSiteImageSource}}" />
                    </Style>
                </DataTemplate.Resources>
                <local:FZMaterial x:Name="FZMaterial_Festival"
                                  Style="{StaticResource A_FZMaterial_FestivalSpecificSpatialIcon}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:RaceAugmentedRealityDataSource}">
                <DataTemplate.Resources>
                    <System:String x:Key="A_String_DefaultFileSuffix">.png</System:String>
                    <local:MappingConverter x:Key="A_Converter_RaceModeImageSource">
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.LapsRace}" Value="laps_race" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.P2P}"  Value="point_to_point" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.CrossCountry}" Value="cross_country" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.CrossCountryCircuit}" Value="cross_country_circuit" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.Scramble}" Value="scramble" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.TrailRace}" Value="trail_race" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.StreetRace}" Value="street_race" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.MidnightBattle}" Value="midnight_battle" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.Drag}" Value="drag_race" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.SpeedSprint}" Value="speed_sprint" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.SpeedCircuit}" Value="speed_circuit" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.ExtremeSprint}" Value="extreme_sprint" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.ExtremeCircuit}" Value="extreme_circuit" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.RallyRace}" Value="rally_race" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.RallyCross}" Value="rally_cross" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.RallyBoss}" Value="rally_boss" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.Touge}" Value="touge" />
                    </local:MappingConverter>

                    <local:MappingConverter x:Key="A_Converter_RaceModeToColorblindSuffix" Default=".png">
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.CrossCountry}" Value="{StaticResource A_String_ColorblindModeSuffix}" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.CrossCountryCircuit}" Value="{StaticResource A_String_ColorblindModeSuffix}" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.Scramble}" Value="{StaticResource A_String_ColorblindModeSuffix}" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.TrailRace}" Value="{StaticResource A_String_ColorblindModeSuffix}" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.Drag}" Value="{StaticResource A_String_ColorblindModeSuffix}" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.SpeedSprint}" Value="{StaticResource A_String_ColorblindModeSuffix}" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.SpeedCircuit}" Value="{StaticResource A_String_ColorblindModeSuffix}" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.ExtremeSprint}" Value="{StaticResource A_String_ColorblindModeSuffix}" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.ExtremeCircuit}" Value="{StaticResource A_String_ColorblindModeSuffix}" />
                    </local:MappingConverter>

                    <local:MappingConverter x:Key="A_Converter_FinaleRaceModeImageSource">
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.LapsRace}" Value="asphalt_finale" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.P2P}" Value="asphalt_finale" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.Scramble}" Value="mixed_surface_finale" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.TrailRace}" Value="mixed_surface_finale" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.CrossCountry}" Value="cross_country_finale" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.CrossCountryCircuit}" Value="cross_country_finale" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.StreetRace}" Value="street_finale" />
                    </local:MappingConverter>

                    <local:MappingConverter x:Key="A_Converter_GoliathRaceModeImageSource">
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.LapsRace}" Value="japan_finale" />
                    </local:MappingConverter>

                    <local:MappingConverter x:Key="A_Converter_ExpeditionImageSource" >
                        <local:MappingConverterEntry Key="Asphalt" Value="expedition_asphalt" />
                        <local:MappingConverterEntry Key="Street" Value="expedition_street" />
                        <local:MappingConverterEntry Key="Dirt" Value="expedition_dirt" />
                        <local:MappingConverterEntry Key="CrossCountry" Value="expedition_cross_country" />
                        <local:MappingConverterEntry Key="PRStunt" Value="expedition_pr_stunt" />
                        <local:MappingConverterEntry Key="SkyDrivers" Value="expedition_skydrivers" />
                        <local:MappingConverterEntry Key="Astra" Value="expedition_astra" />
                    </local:MappingConverter>

                    <local:MappingConverter x:Key="A_Converter_ExpeditionToIconWidth" Default="{StaticResource A_Double_SpatialIconDefault_Width}" >
                        <local:MappingConverterEntry Key="SkyDrivers" Value="190" />
                        <local:MappingConverterEntry Key="Astra" Value="190" />
                    </local:MappingConverter>

                    <local:MappingConverter x:Key="A_Converter_ExpeditionToIconHeight" Default="{StaticResource A_Double_SpatialIconDefault_Height}" >
                        <local:MappingConverterEntry Key="SkyDrivers" Value="153" />
                        <local:MappingConverterEntry Key="Astra" Value="153" />
                    </local:MappingConverter>

                    <local:MappingConverter x:Key="A_Converter_ExpeditionToColorblindSuffix" Default=".png">
                        <local:MappingConverterEntry Key="Dirt" Value="{StaticResource A_String_ColorblindModeSuffix}" />
                        <local:MappingConverterEntry Key="CrossCountry" Value="{StaticResource A_String_ColorblindModeSuffix}" />
                        <local:MappingConverterEntry Key="PRStunt" Value="{StaticResource A_String_ColorblindModeSuffix}" />
                    </local:MappingConverter>

                    <local:MappingConverter x:Key="UIThemeToImageSource" Default="{x:Null}">
                        <local:MappingConverterEntry Key="Goliath" Value="mexico_finale" />
                        <local:MappingConverterEntry Key="dirt_rally" Value="dirt_rally" />
                        <local:MappingConverterEntry Key="mixed_rally" Value="mixed_rally" />
                        <local:MappingConverterEntry Key="road_rally" Value="road_rally" />
                        <local:MappingConverterEntry Key="street_dirt_rally" Value="street_dirt_rally" />
                        <local:MappingConverterEntry Key="street_mixed_rally" Value="street_mixed_rally" />
                        <local:MappingConverterEntry Key="street_road_rally" Value="street_road_rally" />
                        <local:MappingConverterEntry Key="rally_boss_battle_dirt" Value="rally_boss_battle_dirt" />
                        <local:MappingConverterEntry Key="rally_boss_battle_road" Value="rally_boss_battle_road" />
                        <local:MappingConverterEntry Key="rally_boss_battle_street" Value="rally_boss_battle_street" />
                        <local:MappingConverterEntry Key="horizon_legend" Value="horizon_legend" />
                        <local:MappingConverterEntry Key="horizon_invitational" Value="horizon_invitational" />
                        <local:MappingConverterEntry Key="showcase_mech" Value="showcase_mech" />
                        <local:MappingConverterEntry Key="showcase_planes" Value="showcase_planes" />
                        <local:MappingConverterEntry Key="horizon_rush_docks" Value="rush_docks" />
                        <local:MappingConverterEntry Key="horizon_rush_rocket" Value="rush_rocket" />
                        <local:MappingConverterEntry Key="horizon_rush_ski" Value="rush_alps" />
                    </local:MappingConverter>

                    <Style x:Key="A_FZMaterial_RaceActivation_SpatialIcon" BasedOn="{StaticResource A_FZMaterial_TrackSpecificSpatialIcon}" TargetType="local:FZMaterial">
                        <Setter Property="DataContext" Value="{Binding RaceEventData}"/>
                        <Setter Property="local:MultiStringFormatter.Format" Value="{StaticResource A_String_012FormatString}"/>
                        <Setter Property="local:MultiStringFormatter.Param1" Value="{Binding RaceMode, Converter={StaticResource A_Converter_RaceModeImageSource}}"/>
                        <Setter Property="local:MultiStringFormatter.Param2" Value="{Binding RaceMode, Converter={StaticResource A_Converter_RaceModeToColorblindSuffix}}" />

                        <Style.Triggers>
                            <DataTrigger LogicalOp="NotEquals" Binding="{Binding UITheme, Converter={StaticResource UIThemeToImageSource}}" Value="{x:Null}">
                                <Setter Property="local:MultiStringFormatter.Param1" Value="{Binding UITheme, Converter={StaticResource UIThemeToImageSource}}" />
                            </DataTrigger>
                            <DataTrigger Binding="{Binding SeasonallyActive}" Value="True">
                                <Setter Property="local:MultiStringFormatter.Param2" Value="_seasonal.png"/>
                            </DataTrigger>
                            <DataTrigger Binding="{Binding IsEvolvingWorld}" Value="True">
                                <Setter Property="local:MultiStringFormatter.Param2" Value="_evolvingworld.png"/>
                            </DataTrigger>
                            <DataTrigger Binding="{Binding IsLocked}" Value="True">
                                <Setter Property="local:MultiStringFormatter.Param2" Value="_locked.png"/>
                            </DataTrigger>
                            <DataTrigger Binding="{Binding ChampionshipActive}" Value="True">
                                <Setter Property="local:MultiStringFormatter.Param2" Value="_seasonal_active.png"/>
                            </DataTrigger>

                            <DataTrigger Binding="{Binding UniqueEventType}" Value="{x:Static local:XAMLUniqueEventType.EliteSeries}">
                                <Setter Property="local:MultiStringFormatter.Param1" Value="trial_seasonal"/>
                                <Setter Property="local:MultiStringFormatter.Param2" Value="{StaticResource A_String_DefaultFileSuffix}"/>
                            </DataTrigger>

                            <DataTrigger Binding="{Binding IsFinale}" Value="True">
                                <Setter Property="local:MultiStringFormatter.Param1" Value="{Binding RaceMode, Converter={StaticResource A_Converter_FinaleRaceModeImageSource}}"/>
                                <Setter Property="local:MultiStringFormatter.Param2" Value="{Binding RaceMode, Converter={StaticResource A_Converter_RaceModeToColorblindSuffix}}" />
                            </DataTrigger>
                            
                            <DataTrigger Binding="{Binding IsGoliath}" Value="True">
                                <Setter Property="local:MultiStringFormatter.Param1" Value="{Binding RaceMode, Converter={StaticResource A_Converter_GoliathRaceModeImageSource}}"/>
                            </DataTrigger>

                            <DataTrigger Binding="{Binding ExpeditionName, Converter={StaticResource A_StringVisConverter}}" Value="{x:Static Visibility.Visible}"> 
                                <Setter Property="local:MultiStringFormatter.Param1" Value="{Binding ExpeditionName, Converter={StaticResource A_Converter_ExpeditionImageSource}}" />
                                <Setter Property="local:MultiStringFormatter.Param2" Value="{Binding ExpeditionName, Converter={StaticResource A_Converter_ExpeditionToColorblindSuffix}}" />
                                <Setter Property="Width" Value="{Binding ExpeditionName, Converter={StaticResource A_Converter_ExpeditionToIconWidth}}" />
                                <Setter Property="Height" Value="{Binding ExpeditionName, Converter={StaticResource A_Converter_ExpeditionToIconHeight}}" />
                            </DataTrigger>

                            <MultiDataTrigger>
                                <MultiDataTrigger.Conditions>
                                    <Condition Binding="{Binding IsBlueprintOnlyRoute}" Value="True" />
                                    <Condition Binding="{Binding SeasonallyActive}" Value="False" />
                                </MultiDataTrigger.Conditions>
                                <Setter Property="local:MultiStringFormatter.Param1" Value="eventlab"/>
                                <Setter Property="local:MultiStringFormatter.Param2" Value="{StaticResource A_String_DefaultFileSuffix}"/>
                            </MultiDataTrigger>

                            <MultiDataTrigger>
                                <MultiDataTrigger.Conditions>
                                    <Condition Binding="{Binding IsEventlab}" Value="True" />
                                    <Condition Binding="{Binding SeasonallyActive}" Value="True" />
                                </MultiDataTrigger.Conditions>
                                <Setter Property="local:MultiStringFormatter.Param1" Value="eventlab"/>
                                <Setter Property="local:MultiStringFormatter.Param2" Value="_seasonal.png"/>
                            </MultiDataTrigger>

                            <MultiDataTrigger>
                                <MultiDataTrigger.Conditions>
                                    <Condition Binding="{Binding IsEventlab}" Value="True" />
                                    <Condition Binding="{Binding SeasonallyActive}" Value="True" />
                                    <Condition Binding="{Binding ChampionshipActive}" Value="True" />
                                </MultiDataTrigger.Conditions>
                                <Setter Property="local:MultiStringFormatter.Param1" Value="eventlab"/>
                                <Setter Property="local:MultiStringFormatter.Param2" Value="_seasonal_active.png"/>
                            </MultiDataTrigger>
                        </Style.Triggers>
                    </Style>
                </DataTemplate.Resources>
                <Grid>
                    <local:FZMaterial x:Name="FZMaterial_RaceForeground" 
                                      Style="{StaticResource A_FZMaterial_RaceActivation_SpatialIcon}"
                                      Visibility="{Binding ImageSourceNoPreload, Converter={StaticResource A_StringVisConverter}, RelativeSource={RelativeSource Self}}"/>
                    <local:FZMaterial x:Name="FZMaterial_NotDiscovered"
                                      Style="{StaticResource A_FZMaterial_SpatialIcon}"
                                      ImageSource="{Binding ActiveTrack, RelativeSource={RelativeSource AncestorType=Page}, Converter={StaticResource A_Converter_ActiveTrackToUndiscoveredEventIcon}}"
                                      Visibility="Collapsed"
                                      RenderTransformOrigin="0.5,0.5">
                        <local:FZMaterial.RenderTransform>
                            <ScaleTransform/>
                        </local:FZMaterial.RenderTransform>
                    </local:FZMaterial>
                </Grid>

                <DataTemplate.Triggers>
                    <DataTrigger Binding="{Binding IsDiscovered}" Value="False">
                        <Setter TargetName="FZMaterial_RaceForeground"
                                Property="Visibility"
                                Value="Collapsed"/>
                        <Setter TargetName="FZMaterial_NotDiscovered"
                                Property="Visibility"
                                Value="Visible"/>
                    </DataTrigger>

                    <DataTrigger Binding="{Binding IsDiscovered}" Value="False">
                        <DataTrigger.ExitActions>
                            <BeginStoryboard>
                                <BeginStoryboard.Storyboard>
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility"
                                            Storyboard.TargetName="FZMaterial_NotDiscovered" FillBehavior="Stop">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}" />
                                            <DiscreteObjectKeyFrame KeyTime="{StaticResource time_show_discovered}" Value="{x:Static Visibility.Collapsed}" />
                                        </ObjectAnimationUsingKeyFrames>

                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility"
                                            Storyboard.TargetName="FZMaterial_RaceForeground" FillBehavior="Stop">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Hidden}" />
                                            <DiscreteObjectKeyFrame KeyTime="{StaticResource time_show_icon_speed_up}" Value="{x:Static Visibility.Visible}" />
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </BeginStoryboard.Storyboard>
                            </BeginStoryboard>
                        </DataTrigger.ExitActions>
                    </DataTrigger>

                    <DataTrigger Binding="{Binding Tag, RelativeSource={RelativeSource AncestorType=ContentControl}}" Value="Leaderboard">
                        <Setter TargetName="FZMaterial_RaceForeground" Property="Width" Value="88"/>
                        <Setter TargetName="FZMaterial_RaceForeground" Property="Height" Value="88"/>
                    </DataTrigger>
                </DataTemplate.Triggers>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:StreetRaceAugmentedRealityDataSource}">
                <local:FZMaterial x:Name="FZMaterial_StreetRace"
                                  local:MultiStringFormatter.Param1="street_race.png"
                                  Style="{StaticResource A_FZMaterial_TrackSpecificSpatialIcon}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:ArenaAugmentedRealityDataSource}">
                <DataTemplate.Resources>
                    <local:MappingConverter x:Key="A_Converter_PlaygroundGamesImageSource" Default="playground_game_arena.png">
                        <local:MappingConverterEntry Key="{StaticResource A_Boolean_True}" Value="seasonal_playground_game_arena.png" />
                    </local:MappingConverter>

                    <Style x:Key="A_FZMaterial_ArenaActivation_SpatialIcon"
                           BasedOn="{StaticResource A_FZMaterial_TrackSpecificSpatialIcon}"
                           TargetType="local:FZMaterial">
                        <Setter Property="local:MultiStringFormatter.Param1" Value="{Binding IsSeasonal, Converter={StaticResource A_Converter_PlaygroundGamesImageSource}}"/>
                    </Style>
                </DataTemplate.Resources>
                <local:FZMaterial Style="{StaticResource A_FZMaterial_ArenaActivation_SpatialIcon}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:CarMeetAugmentedRealityDataSource}">
                <DataTemplate.Resources>
                    <Style x:Key="A_FZMaterial_CarMeet_SpatialIcon"
                           BasedOn="{StaticResource A_FZMaterial_TrackSpecificSpatialIcon}"
                           TargetType="local:FZMaterial">
                        <Setter Property="local:MultiStringFormatter.Param1" Value="car_meet.png" />
                        <Style.Triggers>
                            <DataTrigger Binding="{Binding IsSeasonal}" Value="True">
                                <Setter Property="local:MultiStringFormatter.Param1" Value="car_meet_seasonal.png" />
                            </DataTrigger>
                            <MultiDataTrigger>
                                <MultiDataTrigger.Conditions>
                                    <Condition Binding="{Binding IsSeasonal}" Value="True" />
                                    <Condition Binding="{Binding IsEvolvingWorld}" Value="True" />
                                </MultiDataTrigger.Conditions>
                                <Setter Property="local:MultiStringFormatter.Param1" Value="car_meet_evolvingworld.png" />
                            </MultiDataTrigger>
                        </Style.Triggers>
                    </Style>
                </DataTemplate.Resources>
                <local:FZMaterial Style="{StaticResource A_FZMaterial_CarMeet_SpatialIcon}"/>
            </DataTemplate>
        </ControlTemplate.Resources>
    </ControlTemplate>

    <Style x:Key="A_Style_ContentControl_SpatialIcon" TargetType="ContentControl">
        <Setter Property="Template" Value="{StaticResource SpatialIconTemplate}"/>
    </Style>

    <Style x:Key="A_Style_ContentControl_SpatialIcon_ForHUD" TargetType="ContentControl" BasedOn="{StaticResource A_Style_ContentControl_SpatialIcon}">
        <Setter Property="Tag" Value="HUD"/>
    </Style>

    <Style x:Key="A_Style_ContentControl_SpatialIcon_ForAR" TargetType="ContentControl" BasedOn="{StaticResource A_Style_ContentControl_SpatialIcon}">
        <Setter Property="Tag" Value="AR"/>
    </Style>

    <Style x:Key="A_Style_ContentControl_SpatialIcon_ForLeaderboard" TargetType="ContentControl" BasedOn="{StaticResource A_Style_ContentControl_SpatialIcon}">
        <Setter Property="Tag" Value="Leaderboard"/>
    </Style>

    <local:FZGeometry x:Key="A_Geometry_Spatial_DownArrow"
            Data="M00.00,00.00
                  001.00,01.00
                  002.00,00.00
                  zl0.00,00.00" />

    <local:FZGeometry x:Key="A_Geometry_Spatial_LeftArrow"
            Data="M00.00,01.00
                  001.00,00.00
                  001.00,02.00
                  zl0.00,01.00" />

    <local:FZGeometry x:Key="A_Geometry_Spatial_RightArrow"
            Data="M00.00,00.00
                  001.00,01.00
                  000.00,02.00
                  zl0.00,00.00" />

    <ControlTemplate x:Key="A_ControlTemplate_SpatialDividerTemplate" TargetType="ContentControl">
        <ContentPresenter/>

        <ControlTemplate.Resources>
            <Style x:Key="A_Style_FZMaterial_Divider" TargetType="FZMaterial">
            </Style>

            <local:FZMaterialPresetRoundtangle x:Key="A_FZMaterialPresetRoundtangle_Spatial_EvolvingWorld"
                                               GradientColorA="{StaticResource A_Color_EvolvingWorld_ColorA}"
                                               GradientColorB="{StaticResource A_Color_EvolvingWorld_ColorB}"
                                               GradientAngle="90" />

            <DataTemplate DataType="{x:Type local:BeautySpotAugmentedRealityDataSource}">
                <FZMaterial Style="{StaticResource A_Style_FZMaterial_Divider}" Color="{StaticResource A_Color_AugmentedRealityBeautySpot}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:BucketListAugmentedRealityDataSource}">
                <DataTemplate.Resources>
                    <local:MappingConverter x:Key="A_Converter_IsJobToColor" Default="{StaticResource A_Color_AugmentedRealityBucketListStory}">
                        <local:MappingConverterEntry Key="{StaticResource A_Boolean_True}" Value="{StaticResource A_Color_AugmentedRealityBucketListJob}" />
                    </local:MappingConverter>

                    <Style x:Key="A_Style_FZMaterial_Divider_BucketList" BasedOn="{StaticResource A_Style_FZMaterial_Divider}" TargetType="FZMaterial">
                        <Setter Property="Color" Value="{Binding IsJob, Converter={StaticResource A_Converter_IsJobToColor}}"/>
                        <Style.Triggers>
                            <DataTrigger Binding="{Binding IsSeasonal}" Value="True">
                                <Setter Property="Color" Value="{StaticResource A_Color_AugmentedReality_Seasonal}"/>
                            </DataTrigger>
                        </Style.Triggers>
                    </Style>
                </DataTemplate.Resources>
                <FZMaterial Style="{StaticResource A_Style_FZMaterial_Divider_BucketList}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:BucketListBlueprintAugmentedRealityDataSource}">
                <FZMaterial Style="{StaticResource A_Style_FZMaterial_Divider}" Color="{StaticResource A_Color_AugmentedRealityBucketListBlueprint}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:TrackSwapAugmentedRealityDataSource}">
                <FZMaterial Style="{StaticResource A_Style_FZMaterial_Divider}" Color="{StaticResource A_Color_AugmentedRealityTrackSwap}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:DeprecatedAugmentedRealityDataSource}">
                <FZMaterial Style="{StaticResource A_Style_FZMaterial_Divider}" Color="{StaticResource A_Color_AugmentedRealityDeprecated}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:TreasureCarAugmentedRealityDataSource}">
                <FZMaterial Style="{StaticResource A_Style_FZMaterial_Divider}" Color="{StaticResource A_Color_AugmentedRealityTreasureCar}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:AftermarketAugmentedRealityDataSource}">
                <FZMaterial Style="{StaticResource A_Style_FZMaterial_Divider}" Color="{StaticResource A_Color_AugmentedRealityAftermarket}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:CarPackUpsellRealityDataSource}">
                <FZMaterial Style="{StaticResource A_Style_FZMaterial_Divider}" Color="{StaticResource A_Color_AugmentedRealityCarPackUpsell}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:PlaylistUpsellAugmentedRealityDataSource}">
                <FZMaterial Style="{StaticResource A_Style_FZMaterial_Divider}" Color="{StaticResource A_Color_AugmentedRealityPlaylistUpsell}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:DragMeetAugmentedRealityDataSource}">
                <DataTemplate.Resources>
                    <Style x:Key="A_Style_FZMaterial_Divider_DragMeet" BasedOn="{StaticResource A_Style_FZMaterial_Divider}" TargetType="FZMaterial">
                        <Setter Property="Color" Value="{StaticResource A_Color_AugmentedRealityDragMeet}"/>
                        <Style.Triggers>
                            <DataTrigger Binding="{Binding IsSeasonal}" Value="True">
                                <Setter Property="Color" Value="{StaticResource A_Color_AugmentedReality_Seasonal}"/>
                            </DataTrigger>
                        </Style.Triggers>
                    </Style>
                </DataTemplate.Resources>
                <FZMaterial Style="{StaticResource A_Style_FZMaterial_Divider_DragMeet}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:EliminatorLootAugmentedRealityDataSource}">
                <DataTemplate.Resources>
                    <local:MappingConverter x:Key="A_Converter_LootLevelToColor">
                        <local:MappingConverterEntry Key="1" Value="{StaticResource A_Color_AugmentedRealityEliminator_Level1}" />
                        <local:MappingConverterEntry Key="2" Value="{StaticResource A_Color_AugmentedRealityEliminator_Level2}" />
                        <local:MappingConverterEntry Key="3" Value="{StaticResource A_Color_AugmentedRealityEliminator_Level3}" />
                        <local:MappingConverterEntry Key="4" Value="{StaticResource A_Color_AugmentedRealityEliminator_Level4}" />
                        <local:MappingConverterEntry Key="5" Value="{StaticResource A_Color_AugmentedRealityEliminator_Level5}" />
                        <local:MappingConverterEntry Key="6" Value="{StaticResource A_Color_AugmentedRealityEliminator_Level6}" />
                        <local:MappingConverterEntry Key="7" Value="{StaticResource A_Color_AugmentedRealityEliminator_Level7}" />
                        <local:MappingConverterEntry Key="8" Value="{StaticResource A_Color_AugmentedRealityEliminator_Level8}" />
                        <local:MappingConverterEntry Key="9" Value="{StaticResource A_Color_AugmentedRealityEliminator_Level9}" />
                        <local:MappingConverterEntry Key="10" Value="{StaticResource A_Color_AugmentedRealityEliminator_Level10}" />
                    </local:MappingConverter>
                </DataTemplate.Resources>

                <FZMaterial Style="{StaticResource A_Style_FZMaterial_Divider}" Color="{Binding CarInfo.CarGrade, Converter={StaticResource A_Converter_LootLevelToColor}}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:FestivalSiteAugmentedRealityDataSource}">
                <DataTemplate.Resources>
                    <local:MappingConverter x:Key="A_Converter_FestivalSiteDividerColor">
                        <local:MappingConverterEntry Key="MainOutpost" Value="{StaticResource A_Color_AugmentedRealityFestivalSite_MainOutpost}" />
                        <local:MappingConverterEntry Key="LegendIslandOutpost" Value="{StaticResource A_Color_AugmentedRealityFestivalSite_LegendIslandOutpost}" />
                    </local:MappingConverter>
                </DataTemplate.Resources>
                
                <FZMaterial Style="{StaticResource A_Style_FZMaterial_Divider}" Color="{Binding FestivalSiteId, Converter={StaticResource A_Converter_FestivalSiteDividerColor}}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:RaceAugmentedRealityDataSource}">
                <DataTemplate.Resources>
                    <local:MappingConverter x:Key="A_Converter_RaceDisciplineToARColor">
                        <local:MappingConverterEntry Key="{x:Static local:XAMLRaceDiscipline.Asphalt}" Value="{StaticResource A_Color_AugmentedRealityRace_Asphalt}" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLRaceDiscipline.Dirt}"  Value="{StaticResource A_Color_AugmentedRealityRace_Dirt}" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLRaceDiscipline.CrossCountry}" Value="{StaticResource A_Color_AugmentedRealityRace_CrossCountry}" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLRaceDiscipline.Rally}" Value="{StaticResource A_Color_AugmentedRealityRace_Rally}" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLRaceDiscipline.Drag}" Value="{StaticResource A_Color_AugmentedRealityRace_Drag}" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLRaceDiscipline.StreetRace}" Value="{StaticResource A_Color_AugmentedRealityRace_StreetRace}" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLRaceDiscipline.Showcase}" Value="{StaticResource A_Color_AugmentedRealityRace_Showcase}" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLRaceDiscipline.Speed}" Value="{StaticResource A_Color_AugmentedRealityRace_Speed}" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLRaceDiscipline.Extreme}" Value="{StaticResource A_Color_AugmentedRealityRace_Extreme}" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLRaceDiscipline.MidnightBattle}" Value="{StaticResource A_Color_AugmentedRealityRace_MidnightBattle}" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLRaceDiscipline.RallyCross}" Value="{StaticResource A_Color_AugmentedRealityRace_RallyCross}" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLRaceDiscipline.RallyBoss}" Value="{StaticResource A_Color_AugmentedRealityRace_RallyBoss}" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLRaceDiscipline.Touge}" Value="{StaticResource A_Color_AugmentedRealityRace_Touge}" />
                        <local:MappingConverterEntry Key="{x:Static local:XAMLRaceDiscipline.Rush}" Value="{StaticResource A_Color_AugmentedRealityRace_Rush}" />
                    </local:MappingConverter>
                    <local:MappingConverter x:Key="A_Converter_UIThemeToARColor" Default="{x:Null}">
                        <local:MappingConverterEntry Key="horizon_legend" Value="{StaticResource A_Color_AugmentedRealityRace_WristbandEvent}" />
                        <local:MappingConverterEntry Key="horizon_invitational" Value="{StaticResource A_Color_AugmentedRealityRace_WristbandEvent}" />
                        <local:MappingConverterEntry Key="showcase_mech" Value="{StaticResource A_Color_AugmentedRealityRace_WristbandEvent}" />
                        <local:MappingConverterEntry Key="showcase_planes" Value="{StaticResource A_Color_AugmentedRealityRace_WristbandEvent}" />
                        <local:MappingConverterEntry Key="horizon_rush_docks" Value="{StaticResource A_Color_AugmentedRealityRace_WristbandEvent}" />
                        <local:MappingConverterEntry Key="horizon_rush_rocket" Value="{StaticResource A_Color_AugmentedRealityRace_WristbandEvent}" />
                        <local:MappingConverterEntry Key="horizon_rush_ski" Value="{StaticResource A_Color_AugmentedRealityRace_WristbandEvent}" />
                    </local:MappingConverter>
                        <Style x:Key="A_Style_FZMaterial_Divider_Race" BasedOn="{StaticResource A_Style_FZMaterial_Divider}" TargetType="FZMaterial">
                        <Setter Property="Color" Value="{Binding RaceDiscipline, Converter={StaticResource A_Converter_RaceDisciplineToARColor}}"/>
                        <Style.Triggers>
                            <DataTrigger LogicalOp="NotEquals" Binding="{Binding RaceEventData.UITheme, Converter={StaticResource A_Converter_UIThemeToARColor}}" Value="{x:Null}">
                                <Setter Property="Color" Value="{Binding RaceEventData.UITheme, Converter={StaticResource A_Converter_UIThemeToARColor}}" />
                            </DataTrigger>
                            <DataTrigger Binding="{Binding RaceEventData.IsGoliath}" Value="True">
                                <Setter Property="Color" Value="{StaticResource A_Color_GoliathActivation}"/>
                            </DataTrigger>
                            <DataTrigger Binding="{Binding RaceEventData.SeasonallyActive}" Value="True">
                                <Setter Property="Color" Value="{StaticResource A_Color_AugmentedReality_Seasonal}"/>
                            </DataTrigger>
                            <DataTrigger Binding="{Binding IsShowcaseRemix}" Value="True">
                                <Setter Property="Color" Value="{StaticResource A_Color_AugmentedReality_Seasonal}"/>
                            </DataTrigger>
                        </Style.Triggers>
                    </Style>
                </DataTemplate.Resources>

                <FZMaterial Style="{StaticResource A_Style_FZMaterial_Divider_Race}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:StreetRaceAugmentedRealityDataSource}">
                <FZMaterial Style="{StaticResource A_Style_FZMaterial_Divider}" Color="{StaticResource A_Color_AugmentedRealityRace_StreetRace}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:ArenaAugmentedRealityDataSource}">
                <DataTemplate.Resources>
                    <Style x:Key="A_Style_FZMaterial_Divider_Arena" BasedOn="{StaticResource A_Style_FZMaterial_Divider}" TargetType="FZMaterial">
                        <Setter Property="Color" Value="{StaticResource A_Color_AugmentedRealityArena}"/>
                        <Style.Triggers>
                            <DataTrigger Binding="{Binding IsSeasonal}" Value="True">
                                <Setter Property="Color" Value="{StaticResource A_Color_AugmentedReality_Seasonal}"/>
                            </DataTrigger>
                        </Style.Triggers>
                    </Style>
                </DataTemplate.Resources>

                <FZMaterial Style="{StaticResource A_Style_FZMaterial_Divider_Arena}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:CarMeetAugmentedRealityDataSource}">
                <DataTemplate.Resources>
                    <Style x:Key="A_Style_FZMaterial_Divider_CarMeet" BasedOn="{StaticResource A_Style_FZMaterial_Divider}" TargetType="FZMaterial">
                        <Setter Property="Color" Value="{StaticResource A_Color_AugmentedRealityRace_Asphalt}"/>
                        <Style.Triggers>
                            <DataTrigger Binding="{Binding IsSeasonal}" Value="True">
                                <Setter Property="Color" Value="{StaticResource A_Color_AugmentedReality_Seasonal}"/>
                            </DataTrigger>
                            <MultiDataTrigger>
                                <MultiDataTrigger.Conditions>
                                    <Condition Binding="{Binding IsSeasonal}" Value="True" />
                                    <Condition Binding="{Binding IsEvolvingWorld}" Value="True" />
                                </MultiDataTrigger.Conditions>
                                <Setter Property="Color" Value="{StaticResource H_Color_Primary_White}" />
                                <Setter Property="Preset" Value="{StaticResource A_FZMaterialPresetRoundtangle_Spatial_EvolvingWorld}" />
                            </MultiDataTrigger>
                        </Style.Triggers>
                    </Style>
                </DataTemplate.Resources>

                <FZMaterial Style="{StaticResource A_Style_FZMaterial_Divider_CarMeet}"/>
            </DataTemplate>
        </ControlTemplate.Resources>
    </ControlTemplate>

</ResourceDictionary>
