<commit_before>﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:clipman.Resources">
    <ControlTemplate x:Key="SearchBoxStyle" TargetType="{x:Type TextBoxBase}">
        <Border Background="{TemplateBinding Background}" 
                x:Name="Bd" BorderBrush="{TemplateBinding BorderBrush}"
                BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="5">
            <Border.Effect>
                <DropShadowEffect x:Name="Shadow" Direction="290" ShadowDepth="2" BlurRadius="4" Opacity="0.35"/>
            </Border.Effect>
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                    <ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>
                <ScrollViewer x:Name="PART_ContentHost" Margin="12,8"/>
                <Image Source="/clipman;component/Resources/search-icon.png"
                       Width="26" Height="26"
                       Grid.Column="1"
                       Margin="0,0,6,0"/>
            </Grid>
        </Border>
        <ControlTemplate.Triggers>
            <Trigger Property="IsFocused" Value="True">
                <Trigger.EnterActions>
                    <BeginStoryboard>
                        <Storyboard>
                            <DoubleAnimationUsingKeyFrames BeginTime="0:0:0"
                                                               Storyboard.TargetProperty="(Effect).Opacity"
                                                               Storyboard.TargetName="Bd">
                                <SplineDoubleKeyFrame KeyTime="{StaticResource AnimationTime}" Value="0.35"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="0:0:0"
                                                               Storyboard.TargetProperty="(Effect).ShadowDepth"
                                                               Storyboard.TargetName="Bd">
                                <SplineDoubleKeyFrame KeyTime="{StaticResource AnimationTime}" Value="2"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </BeginStoryboard>
                </Trigger.EnterActions>
                <Trigger.ExitActions>
                    <BeginStoryboard>
                        <Storyboard>
                            <DoubleAnimationUsingKeyFrames BeginTime="0:0:0"
                                                               Storyboard.TargetProperty="(Effect).Opacity"
                                                               Storyboard.TargetName="Bd">
                                <SplineDoubleKeyFrame KeyTime="{StaticResource AnimationTime}" Value="0" />
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="0:0:0"
                                                               Storyboard.TargetProperty="(Effect).ShadowDepth"
                                                               Storyboard.TargetName="Bd">
                                <SplineDoubleKeyFrame KeyTime="{StaticResource AnimationTime}" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </BeginStoryboard>
                </Trigger.ExitActions>
            </Trigger>
            <Trigger Property="IsEnabled" Value="False"><commit_msg>Adjust search box style<commit_after>﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:clipman.Resources">
    <ControlTemplate x:Key="SearchBoxStyle" TargetType="{x:Type TextBoxBase}">
        <Border Background="{TemplateBinding Background}" 
                x:Name="Bd" BorderBrush="{TemplateBinding BorderBrush}"
                BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="4">
            <Border.Effect>
                <DropShadowEffect x:Name="Shadow" Direction="290" ShadowDepth="2" BlurRadius="4" Opacity="0.2"/>
            </Border.Effect>
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                    <ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>
                <ScrollViewer x:Name="PART_ContentHost" Margin="10,6"/>
                <Image Source="/clipman;component/Resources/search-icon.png"
                       Width="26" Height="26"
                       Grid.Column="1"
                       Margin="0,0,6,0"/>
            </Grid>
        </Border>
        <ControlTemplate.Triggers>
            <Trigger Property="IsFocused" Value="True">
                <Trigger.EnterActions>
                    <BeginStoryboard>
                        <Storyboard>
                            <DoubleAnimationUsingKeyFrames BeginTime="0:0:0"
                                                               Storyboard.TargetProperty="(Effect).Opacity"
                                                               Storyboard.TargetName="Bd">
                                <SplineDoubleKeyFrame KeyTime="{StaticResource AnimationTime}" Value="0.2"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="0:0:0"
                                                               Storyboard.TargetProperty="(Effect).ShadowDepth"
                                                               Storyboard.TargetName="Bd">
                                <SplineDoubleKeyFrame KeyTime="{StaticResource AnimationTime}" Value="2"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </BeginStoryboard>
                </Trigger.EnterActions>
                <Trigger.ExitActions>
                    <BeginStoryboard>
                        <Storyboard>
                            <DoubleAnimationUsingKeyFrames BeginTime="0:0:0"
                                                               Storyboard.TargetProperty="(Effect).Opacity"
                                                               Storyboard.TargetName="Bd">
                                <SplineDoubleKeyFrame KeyTime="{StaticResource AnimationTime}" Value="0" />
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="0:0:0"
                                                               Storyboard.TargetProperty="(Effect).ShadowDepth"
                                                               Storyboard.TargetName="Bd">
                                <SplineDoubleKeyFrame KeyTime="{StaticResource AnimationTime}" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </BeginStoryboard>
                </Trigger.ExitActions>
            </Trigger>
            <Trigger Property="IsEnabled" Value="False">
{'fraction_non_alphanumeric': 0.09518599562363239, 'fraction_numerical': 0.012582056892778994, 'mean_word_length': 1.2268574908647991, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 89, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 32, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '480716', 'n_tokens_mistral': 1641, 'n_tokens_neox': 1456, 'n_words': 198}