<commit_before>﻿<local:GenericLoginCredentialsView x:Class="GitHub.VisualStudio.Views.Dialog.LoginCredentialsView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:ui="clr-namespace:GitHub.UI;assembly=GitHub.UI"
             xmlns:uic="clr-namespace:GitHub.UI.Controls;assembly=GitHub.UI"
             xmlns:uirx="clr-namespace:GitHub.UI;assembly=GitHub.UI.Reactive"
             xmlns:helpers="clr-namespace:GitHub.Helpers;assembly=GitHub.UI"
             xmlns:cache="clr-namespace:GitHub.UI.Helpers;assembly=GitHub.UI"
             xmlns:prop="clr-namespace:GitHub.VisualStudio.UI;assembly=GitHub.VisualStudio.UI"
             xmlns:local="clr-namespace:GitHub.VisualStudio.Views.Dialog"
             xmlns:vm="clr-namespace:GitHub.ViewModels.Dialog;assembly=GitHub.Exports.Reactive"
             xmlns:automation="clr-namespace:GitHub.UI.TestAutomation;assembly=GitHub.UI"
             mc:Ignorable="d"
             d:DesignWidth="414"
             d:DesignHeight="440"
             Style="{DynamicResource DialogUserControl}"
             AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.SignInCustom}">

    <Control.Resources>
        <ResourceDictionary>
          <ResourceDictionary.MergedDictionaries>
            <cache:SharedDictionaryManager Source="pack://application:,,,/GitHub.UI;component/SharedDictionary.xaml" />
            <cache:SharedDictionaryManager Source="pack://application:,,,/GitHub.UI.Reactive;component/SharedDictionary.xaml" />
            <cache:SharedDictionaryManager Source="pack://application:,,,/GitHub.VisualStudio.UI;component/SharedDictionary.xaml" />
          </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Control.Resources>

    <DockPanel Style="{DynamicResource DialogContainerDockPanel}">
        <DockPanel.Resources>
            <Style TargetType="{x:Type ui:PromptTextBox}" BasedOn="{StaticResource RoundedPromptTextBox}">
                <Setter Property="Margin" Value="0" />
            </Style>
            <Style TargetType="{x:Type Border}" x:Key="LoginButtonBorder">
                <Setter Property="Margin" Value="0,0,0,15" />
                <Setter Property="HorizontalAlignment" Value="Center" />
            </Style>
            <Style TargetType="{x:Type ui:SecurePasswordBox}" BasedOn="{StaticResource RoundedPromptTextBox}">
                <Setter Property="Margin" Value="0" />
            </Style>
        </DockPanel.Resources>
        <StackPanel DockPanel.Dock="Top">
            <ui:OcticonImage Icon="logo_github" Style="{DynamicResource GitHubLogo}" />

            <TextBlock
                x:Name="loginLabelPrefix"
                HorizontalAlignment="Center"
                Margin="0,0,0,10"
                Style="{DynamicResource GitHubH1TextBlock}"
                IsHitTestVisible="False"
                Text="{x:Static prop:Resources.LoginLink}" />
            
            <ui:HorizontalShadowDivider />
        </StackPanel>
        <TabControl 
            x:Name="hostTabControl"
            Margin="30,0"
            Style="{StaticResource LightModalViewTabControl}"
            FocusManager.IsFocusScope="True"
            FocusVisualStyle="{x:Null}"
            helpers:AccessKeysManagerScoping.IsEnabled="True"
            AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.SignInHostTab}" >
            <TabControl.Resources>
                <Style TargetType="{x:Type TabItem}" BasedOn="{StaticResource LightModalViewTabItem}" />
                <Style TargetType="{x:Type TabPanel}">
                    <Setter Property="HorizontalAlignment" Value="Center" />
                </Style>
                <Style x:Key="TabDockPanel" TargetType="{x:Type DockPanel}">
                    <Setter Property="Margin" Value="0,20,0,0" />
                    <Setter Property="LastChildFill" Value="True" />
                </Style>
                <Style x:Key="FormFieldStackPanel" TargetType="{x:Type StackPanel}">
                    <Setter Property="Margin" Value="0" />
                </Style>
                <Style
                    TargetType="{x:Type uirx:ErrorMessageDisplay}"
                    BasedOn="{StaticResource ErrorMessageStyle}">
                    <Setter Property="Margin" Value="0,10" />
                </Style>
            </TabControl.Resources>

            <TabItem x:Name="dotComTab" Header="GitHub" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.SignInDotcomHostTabItem}" >
                <DockPanel Style="{StaticResource TabDockPanel}">
                    <StackPanel DockPanel.Dock="Bottom" Margin="0">
                        <Border Style="{StaticResource LoginButtonBorder}">
                            <ui:OcticonCircleButton x:Name="dotComLogInButton" Icon="check" Content="{x:Static prop:Resources.LoginLink}" IsDefault="True" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.DotcomSignInButton}"/>
                        </Border>

                        <TextBlock TextWrapping="Wrap" HorizontalAlignment="Center" Margin="0" Text="{x:Static prop:Resources.dontHaveAnAccountText}" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.DontHaveDotcomAccountTextBlock}">
                            <Hyperlink x:Name="pricingLink" ToolTip="https://github.com/pricing"><TextBlock Text="{x:Static prop:Resources.SignUpLink}" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.DotcomSignUpHyperlink}" /></Hyperlink>
                        </TextBlock>
                    </StackPanel>

                    <StackPanel x:Name="dotComloginControlsPanel">
                        
                        <StackPanel Style="{StaticResource FormFieldStackPanel}">
                            <ui:PromptTextBox
                                x:Name="dotComUserNameOrEmail"
                                PromptText="{x:Static prop:Resources.UserNameOrEmailPromptText}"
                                Margin="0,0,0,10" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.DotcomUsernameEmailTextBox}" />

                            <ui:SecurePasswordBox x:Name="dotComPassword" PromptText="{x:Static prop:Resources.PasswordPrompt}" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.DotcomPasswordTextBox}"/>

                            <Grid Margin="0 8">
                              <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="*"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="*"/>
                              </Grid.ColumnDefinitions>
                              <Rectangle Grid.Column="0" Fill="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" Height="1"/>
                              <TextBlock Grid.Column="1" Margin="8,0,8,4">or</TextBlock>
                              <Rectangle Grid.Column="2" Fill="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" Height="1"/>
                            </Grid>

                            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                              <ui:GitHubActionLink x:Name="dotComSsaLogInButton">Sign in with your browser</ui:GitHubActionLink>
                              <ui:OcticonImage Icon="link_external" Margin="0 1 0 0"/>
                            </StackPanel>

                            <uirx:UserErrorMessages x:Name="dotComErrorMessage" Margin="0,10">
                            </uirx:UserErrorMessages>

                            <uirx:ValidationMessage
                                x:Name="dotComUserNameOrEmailValidationMessage"
                                ValidatesControl="{Binding ElementName=dotComUserNameOrEmail}" />

                            <uirx:ValidationMessage
                                x:Name="dotComPasswordValidationMessage"
                                ValidatesControl="{Binding ElementName=dotComPassword}" />
                         
                        </StackPanel>
                    </StackPanel>
                </DockPanel>
            </TabItem>

            <TabItem x:Name="enterpriseTab" Header="GitHub Enterprise" Margin="10,0,-10,0" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.SignInEnterpriseHostTabItem}">
                <DockPanel Style="{StaticResource TabDockPanel}">
                    <StackPanel DockPanel.Dock="Bottom">
                        <Border Style="{StaticResource LoginButtonBorder}">
                            <ui:OcticonCircleButton x:Name="enterpriseLogInButton" Icon="check" Content="{x:Static prop:Resources.LoginLink}" IsDefault="True" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.EnterpriseSignInButton}"/>
                        </Border>

                        <TextBlock TextWrapping="Wrap" HorizontalAlignment="Center" Margin="0" Text="{x:Static prop:Resources.dontHaveGitHubEnterpriseText}" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.DontHaveEnterpriseTextBlock}" >
                            <Hyperlink x:Name="learnMoreLink" ToolTip="enterprise.github.com"><TextBlock Text="{x:Static prop:Resources.learnMoreLink}" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.EnterpriseLearnMoreHyperlink}"></TextBlock></Hyperlink>
                        </TextBlock>
                    </StackPanel>
                    
                    <StackPanel
                        x:Name="enterpriseloginControlsPanel"
                        Style="{StaticResource FormFieldStackPanel}">

                        <ui:PromptTextBox x:Name="enterpriseUrl"
                                          PromptText="{x:Static prop:Resources.enterpriseUrlPromptText}"
                                          Margin="0,0,0,10"
                                          AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.EnterpriseServerAddressTextBox}">
                          <ui:PromptTextBox.IconContentTemplate>
                            <DataTemplate DataType="{x:Type vm:EnterpriseProbeStatus}">
                                <Grid Margin="4,0">
                                  <uic:Spinner Margin="0,4" Visibility="{Binding Converter={ui:EqualsToVisibilityConverter Checking}}"/>
                                  <ui:OcticonImage Icon="check" Visibility="{Binding Converter={ui:EqualsToVisibilityConverter Valid}}"/>
                                  <ui:OcticonImage Icon="x" Visibility="{Binding Converter={ui:EqualsToVisibilityConverter Invalid}}"/>
                                </Grid>
                            </DataTemplate>
                          </ui:PromptTextBox.IconContentTemplate>
                        </ui:PromptTextBox>

                        <StackPanel Name="enterpriseUsernamePasswordPanel">
                          <ui:PromptTextBox
                              x:Name="enterpriseUserNameOrEmail"
                              PromptText="{x:Static prop:Resources.UserNameOrEmailPromptText}"
                              Margin="0,0,0,10" 
                              AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.EnterpriseUsernameEmailTextBox}" />

                          <ui:SecurePasswordBox x:Name="enterprisePassword"
                                                PromptText="{x:Static prop:Resources.PasswordPrompt}"
                                                AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.EnterprisePasswordTextBox}" />
                        </StackPanel>

                        <StackPanel Name="enterpriseTokenPanel">
                          <ui:SecurePasswordBox x:Name="enterpriseToken"
                                                PromptText="{x:Static prop:Resources.TokenPrompt}"
                                                AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.EnterprisePasswordTextBox}" />
                        </StackPanel>

                        <StackPanel Name="enterpriseSsoPanel">
                          <Grid Margin="0 8">
                            <Grid.ColumnDefinitions>
                              <ColumnDefinition Width="*"/>
                              <ColumnDefinition Width="Auto"/>
                              <ColumnDefinition Width="*"/>
                            </Grid.ColumnDefinitions>
                            <Rectangle Grid.Column="0" Fill="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" Height="1"/>
                            <TextBlock Grid.Column="1" Margin="8,0,8,4">or</TextBlock>
                            <Rectangle Grid.Column="2" Fill="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" Height="1"/>
                          </Grid>
                          <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                            <ui:GitHubActionLink x:Name="enterpriseSsaLogInButton">Sign in with your browser</ui:GitHubActionLink>
                            <ui:OcticonImage Icon="link_external" Margin="0 1 0 0"/>
                          </StackPanel>
                        </StackPanel>

                        <uirx:ValidationMessage
                            x:Name="enterpriseUserNameOrEmailValidationMessage"
                            ValidatesControl="{Binding ElementName=enterpriseUserNameOrEmail}"/>

                        <uirx:ValidationMessage
                            x:Name="enterprisePasswordValidationMessage"<commit_msg>Polish login view<commit_after>﻿<local:GenericLoginCredentialsView x:Class="GitHub.VisualStudio.Views.Dialog.LoginCredentialsView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:ui="clr-namespace:GitHub.UI;assembly=GitHub.UI"
             xmlns:uic="clr-namespace:GitHub.UI.Controls;assembly=GitHub.UI"
             xmlns:uirx="clr-namespace:GitHub.UI;assembly=GitHub.UI.Reactive"
             xmlns:helpers="clr-namespace:GitHub.Helpers;assembly=GitHub.UI"
             xmlns:cache="clr-namespace:GitHub.UI.Helpers;assembly=GitHub.UI"
             xmlns:prop="clr-namespace:GitHub.VisualStudio.UI;assembly=GitHub.VisualStudio.UI"
             xmlns:local="clr-namespace:GitHub.VisualStudio.Views.Dialog"
             xmlns:vm="clr-namespace:GitHub.ViewModels.Dialog;assembly=GitHub.Exports.Reactive"
             xmlns:automation="clr-namespace:GitHub.UI.TestAutomation;assembly=GitHub.UI"
             mc:Ignorable="d"
             d:DesignWidth="414"
             d:DesignHeight="440"
             Style="{DynamicResource DialogUserControl}"
             AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.SignInCustom}">

    <Control.Resources>
        <ResourceDictionary>
          <ResourceDictionary.MergedDictionaries>
            <cache:SharedDictionaryManager Source="pack://application:,,,/GitHub.UI;component/SharedDictionary.xaml" />
            <cache:SharedDictionaryManager Source="pack://application:,,,/GitHub.UI.Reactive;component/SharedDictionary.xaml" />
            <cache:SharedDictionaryManager Source="pack://application:,,,/GitHub.VisualStudio.UI;component/SharedDictionary.xaml" />
          </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Control.Resources>

    <DockPanel Style="{DynamicResource DialogContainerDockPanel}">
        <DockPanel.Resources>
            <Style TargetType="{x:Type ui:PromptTextBox}" BasedOn="{StaticResource RoundedPromptTextBox}">
                <Setter Property="Margin" Value="0" />
            </Style>
            <Style TargetType="{x:Type Border}" x:Key="LoginButtonBorder">
                <Setter Property="Margin" Value="0,0,0,15" />
                <Setter Property="HorizontalAlignment" Value="Center" />
            </Style>
            <Style TargetType="{x:Type ui:SecurePasswordBox}" BasedOn="{StaticResource RoundedPromptTextBox}">
                <Setter Property="Margin" Value="0" />
            </Style>
        </DockPanel.Resources>
        <StackPanel DockPanel.Dock="Top">
            <ui:OcticonImage Icon="logo_github" Style="{DynamicResource GitHubLogo}" />

            <TextBlock
                x:Name="loginLabelPrefix"
                HorizontalAlignment="Center"
                Margin="0,0,0,10"
                Style="{DynamicResource GitHubH1TextBlock}"
                IsHitTestVisible="False"
                Text="{x:Static prop:Resources.LoginLink}" />
            
            <ui:HorizontalShadowDivider />
        </StackPanel>
        <TabControl 
            x:Name="hostTabControl"
            Margin="30,0"
            Style="{StaticResource LightModalViewTabControl}"
            FocusManager.IsFocusScope="True"
            FocusVisualStyle="{x:Null}"
            helpers:AccessKeysManagerScoping.IsEnabled="True"
            AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.SignInHostTab}" >
            <TabControl.Resources>
                <Style TargetType="{x:Type TabItem}" BasedOn="{StaticResource LightModalViewTabItem}" />
                <Style TargetType="{x:Type TabPanel}">
                    <Setter Property="HorizontalAlignment" Value="Center" />
                </Style>
                <Style x:Key="TabDockPanel" TargetType="{x:Type DockPanel}">
                    <Setter Property="Margin" Value="0,20,0,0" />
                    <Setter Property="LastChildFill" Value="True" />
                </Style>
                <Style x:Key="FormFieldStackPanel" TargetType="{x:Type StackPanel}">
                    <Setter Property="Margin" Value="0" />
                </Style>
                <Style
                    TargetType="{x:Type uirx:ErrorMessageDisplay}"
                    BasedOn="{StaticResource ErrorMessageStyle}">
                    <Setter Property="Margin" Value="0,10" />
                </Style>
            </TabControl.Resources>

            <TabItem x:Name="dotComTab" Header="GitHub" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.SignInDotcomHostTabItem}" >
                <DockPanel Style="{StaticResource TabDockPanel}">
                    <StackPanel DockPanel.Dock="Bottom" Margin="0">
                        <TextBlock TextWrapping="Wrap" HorizontalAlignment="Center" Margin="0" Text="{x:Static prop:Resources.dontHaveAnAccountText}" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.DontHaveDotcomAccountTextBlock}">
                            <Hyperlink x:Name="pricingLink" ToolTip="https://github.com/pricing"><TextBlock Text="{x:Static prop:Resources.SignUpLink}" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.DotcomSignUpHyperlink}" /></Hyperlink>
                        </TextBlock>
                    </StackPanel>

                    <StackPanel x:Name="dotComloginControlsPanel">
                        
                        <StackPanel Style="{StaticResource FormFieldStackPanel}">
                            <ui:PromptTextBox
                                x:Name="dotComUserNameOrEmail"
                                PromptText="{x:Static prop:Resources.UserNameOrEmailPromptText}"
                                Margin="0,0,0,10" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.DotcomUsernameEmailTextBox}" />

                            <ui:SecurePasswordBox x:Name="dotComPassword" PromptText="{x:Static prop:Resources.PasswordPrompt}" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.DotcomPasswordTextBox}"/>

                            <Border Style="{StaticResource LoginButtonBorder}" Margin="0 16 0 0">
                                <ui:OcticonCircleButton x:Name="dotComLogInButton" Icon="check" Content="{x:Static prop:Resources.LoginLink}" IsDefault="True" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.DotcomSignInButton}"/>
                            </Border>

                            <Grid Margin="0 8">
                              <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="*"/>
                                <ColumnDefinition Width="Auto"/>
                                <ColumnDefinition Width="*"/>
                              </Grid.ColumnDefinitions>
                              <Rectangle Grid.Column="0" Fill="#FFDDDDDD" Height="1"/>
                              <TextBlock Grid.Column="1" Margin="8,0,8,4">or</TextBlock>
                              <Rectangle Grid.Column="2" Fill="#FFDDDDDD" Height="1"/>
                            </Grid>

                            <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                              <ui:GitHubActionLink x:Name="dotComSsaLogInButton">Sign in with your browser</ui:GitHubActionLink>
                              <ui:OcticonImage Icon="link_external" Margin="0 1 0 0"/>
                            </StackPanel>

                            <uirx:UserErrorMessages x:Name="dotComErrorMessage" Margin="0,10">
                            </uirx:UserErrorMessages>

                            <uirx:ValidationMessage
                                x:Name="dotComUserNameOrEmailValidationMessage"
                                ValidatesControl="{Binding ElementName=dotComUserNameOrEmail}" />

                            <uirx:ValidationMessage
                                x:Name="dotComPasswordValidationMessage"
                                ValidatesControl="{Binding ElementName=dotComPassword}" />
                         
                        </StackPanel>
                    </StackPanel>
                </DockPanel>
            </TabItem>

            <TabItem x:Name="enterpriseTab" Header="GitHub Enterprise" Margin="10,0,-10,0" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.SignInEnterpriseHostTabItem}">
                <DockPanel Style="{StaticResource TabDockPanel}">
                    <StackPanel DockPanel.Dock="Bottom">
                        <TextBlock TextWrapping="Wrap" HorizontalAlignment="Center" Margin="0" Text="{x:Static prop:Resources.dontHaveGitHubEnterpriseText}" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.DontHaveEnterpriseTextBlock}" >
                            <Hyperlink x:Name="learnMoreLink" ToolTip="enterprise.github.com"><TextBlock Text="{x:Static prop:Resources.learnMoreLink}" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.EnterpriseLearnMoreHyperlink}"></TextBlock></Hyperlink>
                        </TextBlock>
                    </StackPanel>
                    
                    <StackPanel
                        x:Name="enterpriseloginControlsPanel"
                        Style="{StaticResource FormFieldStackPanel}">

                        <ui:PromptTextBox x:Name="enterpriseUrl"
                                          PromptText="{x:Static prop:Resources.enterpriseUrlPromptText}"
                                          Margin="0,0,0,10"
                                          AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.EnterpriseServerAddressTextBox}">
                          <ui:PromptTextBox.IconContentTemplate>
                            <DataTemplate DataType="{x:Type vm:EnterpriseProbeStatus}">
                                <Grid Margin="4,0">
                                  <uic:Spinner Margin="0,4" Visibility="{Binding Converter={ui:EqualsToVisibilityConverter Checking}}"/>
                                  <ui:OcticonImage Icon="check" Visibility="{Binding Converter={ui:EqualsToVisibilityConverter Valid}}"/>
                                  <ui:OcticonImage Icon="x" Visibility="{Binding Converter={ui:EqualsToVisibilityConverter Invalid}}"/>
                                </Grid>
                            </DataTemplate>
                          </ui:PromptTextBox.IconContentTemplate>
                        </ui:PromptTextBox>

                        <StackPanel Name="enterpriseUsernamePasswordPanel">
                          <ui:PromptTextBox
                              x:Name="enterpriseUserNameOrEmail"
                              PromptText="{x:Static prop:Resources.UserNameOrEmailPromptText}"
                              Margin="0,0,0,10" 
                              AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.EnterpriseUsernameEmailTextBox}" />

                          <ui:SecurePasswordBox x:Name="enterprisePassword"
                                                PromptText="{x:Static prop:Resources.PasswordPrompt}"
                                                AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.EnterprisePasswordTextBox}" />
                        </StackPanel>

                        <StackPanel Name="enterpriseTokenPanel">
                          <ui:SecurePasswordBox x:Name="enterpriseToken"
                                                PromptText="{x:Static prop:Resources.TokenPrompt}"
                                                AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.EnterprisePasswordTextBox}" />
                        </StackPanel>

                        <Border Style="{StaticResource LoginButtonBorder}" Margin="0 16 0 0">
                            <ui:OcticonCircleButton x:Name="enterpriseLogInButton" Icon="check" Content="{x:Static prop:Resources.LoginLink}" IsDefault="True" AutomationProperties.AutomationId="{x:Static automation:AutomationIDs.EnterpriseSignInButton}"/>
                        </Border>

                        <StackPanel Name="enterpriseSsoPanel">
                          <Grid Margin="0 8">
                            <Grid.ColumnDefinitions>
                              <ColumnDefinition Width="*"/>
                              <ColumnDefinition Width="Auto"/>
                              <ColumnDefinition Width="*"/>
                            </Grid.ColumnDefinitions>
                            <Rectangle Grid.Column="0" Fill="#FFDDDDDD" Height="1"/>
                            <TextBlock Grid.Column="1" Margin="8,0,8,4">or</TextBlock>
                            <Rectangle Grid.Column="2" Fill="#FFDDDDDD" Height="1"/>
                          </Grid>
                          <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
                            <ui:GitHubActionLink x:Name="enterpriseSsaLogInButton">Sign in with your browser</ui:GitHubActionLink>
                            <ui:OcticonImage Icon="link_external" Margin="0 1 0 0"/>
                          </StackPanel>
                        </StackPanel>

                        <uirx:ValidationMessage
                            x:Name="enterpriseUserNameOrEmailValidationMessage"
                            ValidatesControl="{Binding ElementName=enterpriseUserNameOrEmail}"/>

                        <uirx:ValidationMessage
                            x:Name="enterprisePasswordValidationMessage"
{'fraction_non_alphanumeric': 0.10767675308731132, 'fraction_numerical': 0.00816061240701957, 'mean_word_length': 1.9094442693560247, 'pattern_counts': {'":': 0, '<': 277, '<?xml version=': 0, '>': 275, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 28}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 34, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1692536', 'n_tokens_mistral': 7085, 'n_tokens_neox': 6503, 'n_words': 819}