<commit_before>﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:Fluent="clr-namespace:Fluent" mc:Ignorable="d">
	<Style x:Key="EmptyContextMenuStyle" TargetType="{x:Type Fluent:ContextMenu}">
    <Setter Property="ToolTip" Value="{x:Null}"></Setter>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Fluent:ContextMenu}">
				</ControlTemplate>
			</Setter.Value>			
		</Setter>
		<Setter Property="MinWidth" Value="0"/>
		<Setter Property="MaxWidth" Value="0"/>
	</Style>
	<Style x:Key="ContextMenuItemStyle" TargetType="{x:Type Fluent:MenuItem}">
		<Setter Property="Template" Value="{DynamicResource ContextMenuItemControlTemplate}"/>
		<Setter Property="FontFamily" Value="{DynamicResource DefaultFontFamily}"/>
		<Setter Property="FontSize" Value="{DynamicResource DefaultFontSize}"/>
		<Setter Property="Foreground" Value="{DynamicResource DefaultFontBrush}"/>
	</Style>
	<ControlTemplate x:Key="ContextMenuItemControlTemplate" TargetType="{x:Type Fluent:MenuItem}">
		<Grid Width="Auto" Height="22" Background="#00000000">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="25"/>
				<ColumnDefinition Width="*"/>
				<ColumnDefinition Width="Auto"/>
			</Grid.ColumnDefinitions>
			<Border x:Name="border" HorizontalAlignment="Stretch" Margin="0" Width="Auto" Visibility="Collapsed" Background="{DynamicResource ButtonHoverOuterBackgroundBrush}" BorderBrush="{DynamicResource ButtonHoverOuterBorderBrush}" BorderThickness="1" CornerRadius="2" Grid.Column="0" Grid.ColumnSpan="3">
				<Border Background="{DynamicResource ButtonHoverInnerBackgroundBrush}" BorderBrush="{DynamicResource ButtonHoverInnerBorderBrush}" BorderThickness="1" CornerRadius="1"/>
			</Border>
			<TextBlock x:Name="textBlock" Text="{TemplateBinding Text}" Width="Auto" Height="Auto" Margin="9,3,40,3" VerticalAlignment="Center" Grid.Column="1" d:LayoutOverrides="Width"/>
			<Rectangle x:Name="rectangle" Fill="#FFFCF1C2" Stroke="#FFF29536" Grid.ColumnSpan="1" HorizontalAlignment="Center" VerticalAlignment="Center" Width="20" Height="20" RadiusX="1" RadiusY="1" Visibility="Collapsed" RenderOptions.BitmapScalingMode="NearestNeighbor"/>
			<Image x:Name="image" HorizontalAlignment="Center" VerticalAlignment="Center" Source="/Fluent;Component/Themes/Office2010/Images/Checked.png" Stretch="None" Visibility="Collapsed" SnapsToDevicePixels="True" RenderOptions.BitmapScalingMode="NearestNeighbor"/>
			<Image HorizontalAlignment="Center" Margin="3,2,2,2" VerticalAlignment="Center" Width="Auto" Source="{TemplateBinding Icon}" SnapsToDevicePixels="True"/>
			<Path x:Name="path" Stretch="Fill" Stroke="{x:Null}" HorizontalAlignment="Right" Margin="5,0,4,0" Width="4" Data="M0,0L1,1 0,2z" Height="6" Grid.Column="3">
				<Path.Fill>
					<LinearGradientBrush EndPoint="0.945,0.872" StartPoint="0.055,0.128">
						<GradientStop Color="Black" Offset="1"/>
						<GradientStop Color="#FF828282"/>
					</LinearGradientBrush>
				</Path.Fill>
			</Path>
		</Grid>
		<ControlTemplate.Triggers>
			<Trigger Property="IsChecked" Value="True">
				<Setter Property="Visibility" TargetName="rectangle" Value="Visible"/>
			</Trigger>
			<MultiTrigger>
				<MultiTrigger.Conditions>
					<Condition Property="Icon" Value="{x:Null}"/>
					<Condition Property="IsChecked" Value="True"/>
				</MultiTrigger.Conditions>
				<Setter Property="Visibility" TargetName="image" Value="Visible"/>
			</MultiTrigger>
			<Trigger Property="HasItems" Value="False">
				<Setter Property="Visibility" TargetName="path" Value="Collapsed"/>
			</Trigger>
			<Trigger Property="IsSelected" Value="True">
				<Setter Property="Visibility" TargetName="border" Value="Visible"/>
			</Trigger>
			<!--<Trigger Property="IsMouseOver" Value="True">
				<Setter Property="Visibility" TargetName="border" Value="Visible"/>
			</Trigger>
			<Trigger Property="IsFocused" Value="True">
				<Setter Property="Visibility" TargetName="border" Value="Visible"/>
			</Trigger>-->
		</ControlTemplate.Triggers>
	</ControlTemplate>
    
	<Style x:Key="ContextMenuBarStyle" TargetType="{x:Type Fluent:ContextMenuBar}">
		<Setter Property="Template" Value="{DynamicResource ContextPopupMenuControlTemplate}"/>
		<Setter Property="Foreground" Value="{DynamicResource DefaultFontBrush}"/>
		<Setter Property="FontFamily" Value="{DynamicResource DefaultFontFamily}"/>
		<Setter Property="FontSize" Value="{DynamicResource DefaultFontSize}"/>
		<Setter Property="MinWidth" Value="0"/>
		<Setter Property="MinHeight" Value="0"/>
	</Style>
	<ControlTemplate x:Key="ContextPopupMenuControlTemplate" TargetType="{x:Type Fluent:ContextMenuBar}">
		<Grid Height="Auto">
			<Grid.RowDefinitions>
				<RowDefinition Height="*"/>
				<RowDefinition Height="10"/>
			</Grid.RowDefinitions>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*"/>
				<ColumnDefinition Width="10"/>
			</Grid.ColumnDefinitions>
			<Rectangle HorizontalAlignment="Left" VerticalAlignment="Top" Width="4" Height="4" Grid.Row="1" Grid.Column="1" StrokeThickness="0" Margin="-1,-1,0,0">
				<Rectangle.Fill>
					<RadialGradientBrush RadiusX="0.984" Center="0.017,0.002" GradientOrigin="0.017,0.002" RadiusY="1">
						<GradientStop Color="#3F000000" Offset="0"/>
						<GradientStop Color="#00000000" Offset="1"/>
					</RadialGradientBrush><commit_msg>Disabled Style Has Been Added To MenuItem<commit_after>﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:Fluent="clr-namespace:Fluent" mc:Ignorable="d">
	
  <!--Empty Style - Why?-->
  <Style x:Key="EmptyContextMenuStyle" TargetType="{x:Type Fluent:ContextMenu}">
    <Setter Property="ToolTip" Value="{x:Null}"></Setter>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Fluent:ContextMenu}">
				</ControlTemplate>
			</Setter.Value>			
		</Setter>
		<Setter Property="MinWidth" Value="0"/>
		<Setter Property="MaxWidth" Value="0"/>
	</Style>
  
  <!--Menu Item Style-->
	<Style x:Key="ContextMenuItemStyle" TargetType="{x:Type Fluent:MenuItem}">
		<Setter Property="Template" Value="{DynamicResource ContextMenuItemControlTemplate}"/>
		<Setter Property="FontFamily" Value="{DynamicResource DefaultFontFamily}"/>
		<Setter Property="FontSize" Value="{DynamicResource DefaultFontSize}"/>
		<Setter Property="Foreground" Value="{DynamicResource DefaultFontBrush}"/>
	</Style>

  <!--Menu Item Template-->
	<ControlTemplate x:Key="ContextMenuItemControlTemplate" TargetType="{x:Type Fluent:MenuItem}">
		<Grid Width="Auto" Height="22" Background="#00000000">
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="25"/>
				<ColumnDefinition Width="*"/>
				<ColumnDefinition Width="Auto"/>
			</Grid.ColumnDefinitions>
			<Border x:Name="border" HorizontalAlignment="Stretch" Margin="0" Width="Auto" Visibility="Collapsed" Background="{DynamicResource ButtonHoverOuterBackgroundBrush}" BorderBrush="{DynamicResource ButtonHoverOuterBorderBrush}" BorderThickness="1" CornerRadius="2" Grid.Column="0" Grid.ColumnSpan="3">
				<Border Background="{DynamicResource ButtonHoverInnerBackgroundBrush}" BorderBrush="{DynamicResource ButtonHoverInnerBorderBrush}" BorderThickness="1" CornerRadius="1"/>
			</Border>
			<TextBlock x:Name="textBlock" Text="{TemplateBinding Text}" Width="Auto" Height="Auto" Margin="9,3,40,3" VerticalAlignment="Center" Grid.Column="1" d:LayoutOverrides="Width"/>
			<Rectangle x:Name="rectangle" Fill="#FFFCF1C2" Stroke="#FFF29536" Grid.ColumnSpan="1" HorizontalAlignment="Center" VerticalAlignment="Center" Width="20" Height="20" RadiusX="1" RadiusY="1" Visibility="Collapsed" RenderOptions.BitmapScalingMode="NearestNeighbor"/>
			<Image x:Name="image" HorizontalAlignment="Center" VerticalAlignment="Center" Source="/Fluent;Component/Themes/Office2010/Images/Checked.png" Stretch="None" Visibility="Collapsed" SnapsToDevicePixels="True" RenderOptions.BitmapScalingMode="NearestNeighbor"/>
			<Image x:Name="iconImage" HorizontalAlignment="Center" Margin="3,2,2,2" VerticalAlignment="Center" Width="Auto" Source="{TemplateBinding Icon}" SnapsToDevicePixels="True"/>
			<Path x:Name="path" Stretch="Fill" Stroke="{x:Null}" HorizontalAlignment="Right" Margin="5,0,4,0" Width="4" Data="M0,0L1,1 0,2z" Height="6" Grid.Column="3">
				<Path.Fill>
					<LinearGradientBrush EndPoint="0.945,0.872" StartPoint="0.055,0.128">
						<GradientStop Color="Black" Offset="1"/>
						<GradientStop Color="#FF828282"/>
					</LinearGradientBrush>
				</Path.Fill>
			</Path>
		</Grid>
		<ControlTemplate.Triggers>
			<Trigger Property="IsChecked" Value="True">
				<Setter Property="Visibility" TargetName="rectangle" Value="Visible"/>
			</Trigger>
			<MultiTrigger>
				<MultiTrigger.Conditions>
					<Condition Property="Icon" Value="{x:Null}"/>
					<Condition Property="IsChecked" Value="True"/>
				</MultiTrigger.Conditions>
				<Setter Property="Visibility" TargetName="image" Value="Visible"/>
			</MultiTrigger>
			<Trigger Property="HasItems" Value="False">
				<Setter Property="Visibility" TargetName="path" Value="Collapsed"/>
			</Trigger>
			<Trigger Property="IsSelected" Value="True">
				<Setter Property="Visibility" TargetName="border" Value="Visible"/>
			</Trigger>
      <Trigger Property="IsEnabled" Value="False">
        <Setter Property="Opacity" TargetName="iconImage" Value="0.5"/>
        <Setter Property="Opacity" TargetName="image" Value="0.5"/>
        <Setter Property="Opacity" TargetName="textBlock" Value="0.5"/>
        <Setter Property="Effect" TargetName="iconImage">
          <Setter.Value>
            <Fluent:GrayscaleEffect/>
          </Setter.Value>
        </Setter>
        <Setter Property="Effect" TargetName="image">
          <Setter.Value>
            <Fluent:GrayscaleEffect/>
          </Setter.Value>
        </Setter>
      </Trigger>
		</ControlTemplate.Triggers>
	</ControlTemplate>

  <!--Menu Bar Style-->
	<Style x:Key="ContextMenuBarStyle" TargetType="{x:Type Fluent:ContextMenuBar}">
		<Setter Property="Template" Value="{DynamicResource ContextPopupMenuControlTemplate}"/>
		<Setter Property="Foreground" Value="{DynamicResource DefaultFontBrush}"/>
		<Setter Property="FontFamily" Value="{DynamicResource DefaultFontFamily}"/>
		<Setter Property="FontSize" Value="{DynamicResource DefaultFontSize}"/>
		<Setter Property="MinWidth" Value="0"/>
		<Setter Property="MinHeight" Value="0"/>
	</Style>
	<ControlTemplate x:Key="ContextPopupMenuControlTemplate" TargetType="{x:Type Fluent:ContextMenuBar}">
		<Grid Height="Auto">
			<Grid.RowDefinitions>
				<RowDefinition Height="*"/>
				<RowDefinition Height="10"/>
			</Grid.RowDefinitions>
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="*"/>
				<ColumnDefinition Width="10"/>
			</Grid.ColumnDefinitions>
			<Rectangle HorizontalAlignment="Left" VerticalAlignment="Top" Width="4" Height="4" Grid.Row="1" Grid.Column="1" StrokeThickness="0" Margin="-1,-1,0,0">
				<Rectangle.Fill>
					<RadialGradientBrush RadiusX="0.984" Center="0.017,0.002" GradientOrigin="0.017,0.002" RadiusY="1">
						<GradientStop Color="#3F000000" Offset="0"/>
						<GradientStop Color="#00000000" Offset="1"/>
					</RadialGradientBrush>
{'fraction_non_alphanumeric': 0.16787627440815622, 'fraction_numerical': 0.027129773630551236, 'mean_word_length': 6.307449494949495, 'pattern_counts': {'":': 0, '<': 199, '<?xml version=': 0, '>': 199, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 4, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4146940', 'n_tokens_mistral': 4148, 'n_tokens_neox': 3397, 'n_words': 586}