<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>

    <Style TargetType="{x:Type local:FZTextBlock}"
           x:Key="A_Style_ActivationNumber"
           BasedOn="{StaticResource A_Style_FZTextBlock_HorizonA}">
        <Setter Property="Color"
                Value="{StaticResource A_Color_ActivationPreNameText}" />
        <Setter Property="FontSize"
                Value="121" />
        <Setter Property="VerticalAlignment"
                Value="Bottom" />
        <Style.Triggers>
            <DataTrigger Binding="{Binding DataContext.ShownOnHUD, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ContentControl}}}" Value="True">
                <Setter Property="Effect"
                        Value="{StaticResource A_DropShadowEffect_DefaultHud}" />
                <Setter Property="FontSize"
                        Value="110"/>
            </DataTrigger>
        </Style.Triggers>
    </Style>

    <Style TargetType="{x:Type local:FZTextBlock}"
           x:Key="A_Style_ActivationBigNumber"
           BasedOn="{StaticResource A_Style_ActivationNumber}">
        <Setter Property="FontSize"
                Value="188" />
        <Style.Triggers>
            <DataTrigger Binding="{Binding DataContext.ShownOnHUD, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ContentControl}}}" Value="True">
                <Setter Property="FontSize"
                        Value="170"/>
            </DataTrigger>
        </Style.Triggers>
    </Style>

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

    <!-- Icon -->

    <Style x:Key="A_FZMaterial_SpatialIcon" TargetType="local:FZMaterial">
        <Setter Property="Stretch" Value="Uniform"/>
        <Setter Property="StretchDirection" Value="DownOnly"/>
        <Setter Property="HorizontalAlignment" Value="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource FindAncestor, AncestorType=ContentControl}}"/>
        <Setter Property="VerticalAlignment" Value="{Binding VerticalContentAlignment, RelativeSource={RelativeSource FindAncestor, AncestorType=ContentControl}}"/>
        <Setter Property="GetSizeFromTexture" Value="True"/>
    </Style>

    <local:MappingConverter x:Key="A_Converter_ActiveTrackToSpatialIconLocation"
                            Default="/ForzaUI;component/Textures/Data_Bound/Spatial/">
        <local:MappingConverterEntry Key="{x:Static local:XAMLTrack.ExpansionOne}" Value="/ForzaUI;component/Textures/Data_Bound/PDLC1/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>

    <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" />

                    <local:MappingConverter x:Key="A_Converter_StoryIdToSpecialIcon"
                        Default="">
                        <local:MappingConverterEntry Key="drift_club_2" Value="/ForzaUI;component/Textures/Data_Bound/PDLC1/Spatial/Story_Drift2.png" />
                        <local:MappingConverterEntry Key="story_11" Value="/ForzaUI;component/Textures/Data_Bound/Series11/Story11/Story_11.png" />
                    </local:MappingConverter>
                    <local:MappingConverter x:Key="A_Converter_StoryIdToSpecialIcon_HUD"
                        Default="">
                        <local:MappingConverterEntry Key="drift_club_2" Value="/ForzaUI;component/Textures/Data_Bound/PDLC1/Spatial/Story_Drift2.png" />
                        <local:MappingConverterEntry Key="story_11" Value="/ForzaUI;component/Textures/Data_Bound/Series11/Story11/Story_11_HUD.png" />
                    </local:MappingConverter>

                    <local:MultiConverter x:Key="A_Converter_VisibleIfStorySpecialIcon">
                        <local:MultiConverterEntry Converter="{StaticResource A_Converter_StoryIdToSpecialIcon}" />
                        <local:MultiConverterEntry Converter="{StaticResource A_StringVisConverter_UseHidden}" />
                    </local:MultiConverter>

                    <local:MultiConverter x:Key="A_Converter_HiddenIfStorySpecialIcon">
                        <local:MultiConverterEntry Converter="{StaticResource A_Converter_StoryIdToSpecialIcon}" />
                        <local:MultiConverterEntry Converter="{StaticResource A_StringVisConverter_UseHidden_Inverse}" />
                    </local:MultiConverter>

                    <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.Triggers>
                            <!-- Special case handling between HUD and spatial-->
                            <MultiDataTrigger>
                                <MultiDataTrigger.Conditions>
                                    <Condition Binding="{Binding StoryId, Converter={StaticResource A_Converter_VisibleIfStorySpecialIcon}}" Value="{x:Static Visibility.Visible}"/>
                                    <Condition Binding="{Binding Tag, RelativeSource={RelativeSource FindAncestor, AncestorType=ContentControl}}" Value="HUD"/>
                                </MultiDataTrigger.Conditions>
                                <Setter Property="Preset" Value="{StaticResource A_FZMaterialPreset_FlatPanel_Base}"/>
                                <Setter Property="ImageSource" Value="{Binding StoryId, Converter={StaticResource A_Converter_StoryIdToSpecialIcon_HUD}}"/>
                            </MultiDataTrigger>
                            <MultiDataTrigger>
                                <MultiDataTrigger.Conditions>
                                    <Condition Binding="{Binding StoryId, Converter={StaticResource A_Converter_VisibleIfStorySpecialIcon}}" Value="{x:Static Visibility.Visible}"/>
                                    <Condition Binding="{Binding Tag, RelativeSource={RelativeSource FindAncestor, AncestorType=ContentControl}}" Value="AR"/>
                                </MultiDataTrigger.Conditions>
                                <Setter Property="Preset" Value="{StaticResource A_FZMaterialPreset_FlatPanel_Base}"/>
                                <Setter Property="ImageSource" Value="{Binding StoryId, Converter={StaticResource A_Converter_StoryIdToSpecialIcon}}"/>
                            </MultiDataTrigger>
                        </Style.Triggers>
                    </Style>
                </DataTemplate.Resources>
                <Grid HorizontalAlignment="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource FindAncestor, AncestorType=ContentControl}}"
                      VerticalAlignment="{Binding VerticalContentAlignment, RelativeSource={RelativeSource FindAncestor, AncestorType=ContentControl}}">
                    <local:FZMaterial Color="{Binding InfluenceThread, Converter={StaticResource A_Converter_InfluenceThreadIdToColor}}"
                        Preset="{StaticResource A_FZMaterialPresetRoundtangle_Story}"
                        Visibility="{Binding StoryId, Converter={StaticResource A_Converter_HiddenIfStorySpecialIcon}}" />
                    <Grid>
                        <local:FZMaterial Style="{StaticResource A_FZMaterial_BucketListSpatialIcon}" />
                    </Grid>

                </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}}"/>
                    <local:FZMaterial x:Name="FZMaterial_GamerPic"
                                      ImageSource="{Binding UserProfileDataSource, Converter={StaticResource A_GamerPicConverter}, ConverterParameter={StaticResource A_Size_GamerPicSizeParams}}"
                                      Preset="{StaticResource A_FZMaterialPresetRoundtangle_Bucketlist_GamerPic}"
                                      Style="{StaticResource A_FZMaterial_SpatialIcon}"
                                      Visibility="{Binding HasChallenge, Converter={StaticResource A_FZBooleanToVisibilityConverter}}"/>
                </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:FestivalSiteAugmentedRealityDataSource}">
                <local:FZMaterial x:Name="FZMaterial_Festival"
                                  local:MultiStringFormatter.Param1="festival_site.png"
                                  Style="{StaticResource A_FZMaterial_TrackSpecificSpatialIcon}"/>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:MidnightBattleAugmentedRealityDataSource}">
                <local:FZMaterial ImageSourceNoPreload="/ForzaUI;component/Textures/Data_Bound/Spatial/midnight_battle.png"
                                  Style="{StaticResource A_FZMaterial_SpatialIcon}"/>
            </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.HillClimb}" Value="hill_climb" />
                        <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.Drag}" Value="drag_race" />
                    </local:MappingConverter>

                    <local:MappingConverter x:Key="A_Converter_FinaleRaceModeImageSource">
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.LapsRace}" Value="/ForzaUI;component/Textures/Data_Bound/Spatial/asphalt_finale.png" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.P2P}" Value="/ForzaUI;component/Textures/Data_Bound/Spatial/asphalt_finale.png" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.Scramble}" Value="/ForzaUI;component/Textures/Data_Bound/Spatial/mixed_surface_finale.png" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.TrailRace}" Value="/ForzaUI;component/Textures/Data_Bound/Spatial/mixed_surface_finale.png" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.CrossCountry}" Value="/ForzaUI;component/Textures/Data_Bound/Spatial/cross_country_finale.png" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.CrossCountryCircuit}" Value="/ForzaUI;component/Textures/Data_Bound/Spatial/cross_country_finale.png" />
                        <local:MappingConverterEntry Key="{x:Static local:RaceMode.StreetRace}" Value="/ForzaUI;component/Textures/Data_Bound/Spatial/street_finale.png" />
                    </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="{StaticResource A_String_DefaultFileSuffix}"/>
                        <Style.Triggers>
                            <DataTrigger Binding="{Binding SeasonallyActive}" Value="True">
                                <Setter Property="local:MultiStringFormatter.Param2" Value="_seasonal.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="ImageSourceNoPreload" Value="{Binding RaceMode, Converter={StaticResource A_Converter_FinaleRaceModeImageSource}}"/>
                            </DataTrigger>
                            <DataTrigger Binding="{Binding XamlId}" Value="Goliath">
                                <Setter Property="ImageSourceNoPreload" Value="/ForzaUI;component/Textures/Data_Bound/Spatial/asphalt_finale_2.png"/>
                            </DataTrigger>
                            <DataTrigger Binding="{Binding XamlId}" Value="Kraken">
                                <Setter Property="ImageSourceNoPreload" Value="/ForzaUI;component/Textures/Data_Bound/PDLC1/Spatial/kraken.png"/>
                            </DataTrigger>
                            <DataTrigger Binding="{Binding XamlId}" Value="Leviathan">
                                <Setter Property="ImageSourceNoPreload" Value="/ForzaUI;component/Textures/Data_Bound/PDLC1/Spatial/leviathan.png"/>
                            </DataTrigger>
                            <DataTrigger Binding="{Binding XamlId}" Value="SpeedChampions">
                                <Setter Property="ImageSourceNoPreload" Value="/ForzaUI;component/Textures/Data_Bound/PDLC2/Spatial/speedchampions.png"/>
                            </DataTrigger>
                            <DataTrigger Binding="{Binding XamlId}" Value="SpeedChampionsFinale">
                                <Setter Property="ImageSourceNoPreload" Value="/ForzaUI;component/Textures/Data_Bound/PDLC2/Spatial/speedchampionsfinale.png"/>
                            </DataTrigger>
                            <DataTrigger Binding="{Binding XamlId}" Value="RedGoliath">
                                <Setter Property="ImageSourceNoPreload" Value="/ForzaUI;component/Textures/Data_Bound/PDLC2/Spatial/redgoliath.png"/>
                            </DataTrigger>
                        </Style.Triggers>
                    </Style>
                </DataTemplate.Resources>
                <Grid local:ZPanel.TransformOrigin="0.5,0.5">
                    <local:ZPanel.Transform>
                        <local:YRotation x:Name="DiscoveryRotation3D" />
                    </local:ZPanel.Transform>
                    <local:FZMaterial x:Name="FZMaterial_RaceForeground" Style="{StaticResource A_FZMaterial_RaceActivation_SpatialIcon}"/>
                    <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>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Angle"
                                            Storyboard.TargetName="DiscoveryRotation3D" FillBehavior="Stop">
                                            <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="180" />
                                            <EasingDoubleKeyFrame KeyTime="0:0:0.66" Value="0">
                                                <EasingDoubleKeyFrame.EasingFunction>
                                                    <CubicEase EasingMode="EaseInOut" />
                                                </EasingDoubleKeyFrame.EasingFunction>
                                            </EasingDoubleKeyFrame>
                                        </DoubleAnimationUsingKeyFrames>

                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)"
                                            Storyboard.TargetName="FZMaterial_NotDiscovered" FillBehavior="Stop">
                                            <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="-1" />
                                            <DiscreteDoubleKeyFrame KeyTime="0:0:0.66" Value="-1" />
                                        </DoubleAnimationUsingKeyFrames>

                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility"
                                            Storyboard.TargetName="FZMaterial_NotDiscovered" FillBehavior="Stop">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}" />
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0.33" Value="{x:Static Visibility.Collapsed}" />
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0.6" 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.Collapsed}" />
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0.33" Value="{x:Static Visibility.Visible}" />
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0.6" Value="{x:Static Visibility.Visible}" />
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </BeginStoryboard.Storyboard>
                            </BeginStoryboard>
                        </DataTrigger.ExitActions>
                    </DataTrigger>
                </DataTemplate.Triggers>
            </DataTemplate>

            <DataTemplate DataType="{x:Type local:ShowcaseAugmentedRealityDataSource}">
                <DataTemplate.Resources>
                    <local:MappingConverter x:Key="A_Converter_ShowcaseImageSource">
                        <local:MappingConverterEntry Key="MotoX" Value="/ForzaUI;component/Textures/Data_Bound/Spatial/showcase_motox.png" />
                        <local:MappingConverterEntry Key="Train" Value="/ForzaUI;component/Textures/Data_Bound/Spatial/showcase_train.png" />
                        <local:MappingConverterEntry Key="Hovercraft" Value="/ForzaUI;component/Textures/Data_Bound/Spatial/showcase_hovercraft.png" />
                        <local:MappingConverterEntry Key="Vulcan" Value="/ForzaUI;component/Textures/Data_Bound/Spatial/showcase_vulcan.png" />
                        <local:MappingConverterEntry Key="Halo" Value="/ForzaUI;component/Textures/Data_Bound/Spatial/showcase_halo.png" />
                    </local:MappingConverter>
                </DataTemplate.Resources>
                <local:FZMaterial x:Name="FZMaterial_Showcase" ImageSource="{Binding BlockingEventXamlId, Converter={StaticResource A_Converter_ShowcaseImageSource}}"  Style="{StaticResource A_FZMaterial_SpatialIcon}"/>
            </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>
                </DataTemplate.Resources>
                <local:FZMaterial local:MultiStringFormatter.Param1="{Binding IsSeasonal, Converter={StaticResource A_Converter_PlaygroundGamesImageSource}}"
                                  Style="{StaticResource A_FZMaterial_TrackSpecificSpatialIcon}"/>
            </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>

    <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" />
</ResourceDictionary>
