<commit_before>﻿<Page
    x:Class="ThoughtRecordApp.Pages.InformationPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:ThoughtRecordApp.Pages"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Page.Transitions>
        <TransitionCollection>
            <PaneThemeTransition Edge="Right" />
        </TransitionCollection>
    </Page.Transitions>
    <Page.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Resources/Styles/Controls/ControlDictionary.xaml" />
                <ResourceDictionary Source="/Resources/Styles/AppThemeStyles.xaml" />
                <ResourceDictionary Source="/Resources/Styles/InformationPageStyle.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Page.Resources>
    <ScrollViewer>
        <StackPanel Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
                    Orientation="Vertical"
                    Margin="20, 0, 20, 40" MaxWidth="600" HorizontalAlignment="Left" VerticalAlignment="Top">
            <StackPanel Style="{StaticResource SectionStyle}">
                <TextBlock Text="{x:Bind ViewModel.AboutTitle}" Style="{StaticResource SectionTitle}"/>
                <StackPanel Orientation="Vertical" >
                    <TextBlock Text="{x:Bind ViewModel.BroughtToYouByText}" 
                       Style="{StaticResource ParagraphStyle}"
                       HorizontalAlignment="Center"/>
                    <TextBlock Text=" PANIC THEOREM SOFTWARE" 
                       Style="{StaticResource ParagraphStyle}"
                       HorizontalAlignment="Center"/>
                </StackPanel>
                <Image Source="/Assets/PanicCubePurple.png"  Width="100" Height="100" VerticalAlignment="Top" HorizontalAlignment="Center"/>
                <TextBlock Text="{x:Bind ViewModel.FeedbackTitle}" Style="{StaticResource SectionTitle}"/>
                <TextBlock Text="{x:Bind ViewModel.ContactMeContent}" Style="{StaticResource ParagraphStyle}"/>
                <StackPanel x:Name="FeedbackHubArea">
                    <Button x:Name="FeedbackButton" 
                        Click="FeedbackButton_Click" 
                        Style="{StaticResource DefaultButtonStyle}"
                        Margin="0,10,0,10"
                        HorizontalAlignment="Center">
                        <StackPanel Orientation="Horizontal">
                            <TextBlock FontFamily="Segoe MDL2 Assets" Text="&#xE939;" Margin="0,2,2,0"/>
                            <TextBlock Text="{x:Bind ViewModel.FeedbackButtonText}" />
                        </StackPanel>
                    </Button>
                    <TextBlock Text="Or" Style="{StaticResource CenteredParagraphStyle}" />
                </StackPanel>
                <HyperlinkButton Content="{x:Bind ViewModel.ContactMeLinkText}" 
                                 Style="{StaticResource DiscreteHyperlinkButtonStyle}"
                                 NavigateUri="http://www.PanicTheorem.Net/Contact"
                                 HorizontalAlignment="Center"/>
                <TextBlock Text="{x:Bind ViewModel.CreditsTitle}" Style="{StaticResource SectionTitle}"/>
                <TextBlock Text="{x:Bind ViewModel.ImageSourceText}" Style="{StaticResource ParagraphStyle}"/>
                <HyperlinkButton Content="{x:Bind ViewModel.ImageSourceLinkText}" 
                                 HorizontalAlignment="Center"
                                 NavigateUri="https://pixabay.com/en/mountains-sky-landscape-nature-731149/"
                                 Style="{StaticResource DiscreteHyperlinkButtonStyle}"/>
                <TextBlock Text="{x:Bind ViewModel.SupportAppTitle}" Style="{StaticResource SectionTitle}"/>
                <TextBlock Text="{x:Bind ViewModel.RatingContent}" Style="{StaticResource ParagraphStyle}"/>
                <HyperlinkButton x:Name="RatingButton" 
                        Content="{x:Bind ViewModel.RatingButtonText}" 
                        Style="{StaticResource DiscreteHyperlinkButtonStyle}"
                        Margin="0,10,0,0"
                        HorizontalAlignment="Center"
                        NavigateUri=" https://www.microsoft.com/store/apps/9nblggh4nlzx"/>
                <TextBlock Text="{x:Bind ViewModel.DonateContent}" Style="{StaticResource ParagraphStyle}"/>
                <Button x:Name="DonationButton" 
                        Content="{x:Bind ViewModel.DonateButtonText}" 
                        Click="DonationButton_Click" 
                        Style="{StaticResource DefaultButtonStyle}"
                        Margin="0,10,0,0"
                        HorizontalAlignment="Center"/>
                <TextBlock x:Name="DonationSuccessMessage" 
                           Style="{StaticResource ParagraphStyle}"
                           Foreground="{StaticResource DarkAccentBrush}"/>
            </StackPanel>
        </StackPanel>
    </ScrollViewer>
</Page>
<commit_msg>Hide Feedback Hub button if not supported.<commit_after>﻿<Page
    x:Class="ThoughtRecordApp.Pages.InformationPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:ThoughtRecordApp.Pages"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">
    <Page.Transitions>
        <TransitionCollection>
            <PaneThemeTransition Edge="Right" />
        </TransitionCollection>
    </Page.Transitions>
    <Page.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Resources/Styles/Controls/ControlDictionary.xaml" />
                <ResourceDictionary Source="/Resources/Styles/AppThemeStyles.xaml" />
                <ResourceDictionary Source="/Resources/Styles/InformationPageStyle.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Page.Resources>
    <ScrollViewer>
        <StackPanel Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
                    Orientation="Vertical"
                    Margin="20, 0, 20, 40" MaxWidth="600" HorizontalAlignment="Left" VerticalAlignment="Top">
            <StackPanel Style="{StaticResource SectionStyle}">
                <TextBlock Text="{x:Bind ViewModel.AboutTitle}" Style="{StaticResource SectionTitle}"/>
                <StackPanel Orientation="Vertical" >
                    <TextBlock Text="{x:Bind ViewModel.BroughtToYouByText}" 
                       Style="{StaticResource ParagraphStyle}"
                       HorizontalAlignment="Center"/>
                    <TextBlock Text=" PANIC THEOREM SOFTWARE" 
                       Style="{StaticResource ParagraphStyle}"
                       HorizontalAlignment="Center"/>
                </StackPanel>
                <Image Source="/Assets/PanicCubePurple.png"  Width="100" Height="100" VerticalAlignment="Top" HorizontalAlignment="Center"/>
                <TextBlock Text="{x:Bind ViewModel.FeedbackTitle}" Style="{StaticResource SectionTitle}"/>
                <TextBlock Text="{x:Bind ViewModel.ContactMeContent}" Style="{StaticResource ParagraphStyle}"/>
                <StackPanel x:Name="FeedbackHubArea"
                            Visibility="Collapsed">
                    <Button x:Name="FeedbackButton" 
                        Click="FeedbackButton_Click" 
                        Style="{StaticResource DefaultButtonStyle}"
                        Margin="0,10,0,10"
                        HorizontalAlignment="Center">
                        <StackPanel Orientation="Horizontal">
                            <TextBlock FontFamily="Segoe MDL2 Assets" Text="&#xE939;" Margin="0,2,2,0"/>
                            <TextBlock Text="{x:Bind ViewModel.FeedbackButtonText}" />
                        </StackPanel>
                    </Button>
                    <TextBlock Text="Or" Style="{StaticResource CenteredParagraphStyle}" />
                </StackPanel>
                <HyperlinkButton Content="{x:Bind ViewModel.ContactMeLinkText}" 
                                 Style="{StaticResource DiscreteHyperlinkButtonStyle}"
                                 NavigateUri="http://www.PanicTheorem.Net/Contact"
                                 HorizontalAlignment="Center"/>
                <TextBlock Text="{x:Bind ViewModel.CreditsTitle}" Style="{StaticResource SectionTitle}"/>
                <TextBlock Text="{x:Bind ViewModel.ImageSourceText}" Style="{StaticResource ParagraphStyle}"/>
                <HyperlinkButton Content="{x:Bind ViewModel.ImageSourceLinkText}" 
                                 HorizontalAlignment="Center"
                                 Margin="0,0,0,10"
                                 NavigateUri="https://pixabay.com/en/mountains-sky-landscape-nature-731149/"
                                 Style="{StaticResource DiscreteHyperlinkButtonStyle}"/>
                <TextBlock Text="{x:Bind ViewModel.SupportAppTitle}" Style="{StaticResource SectionTitle}"/>
                <TextBlock Text="{x:Bind ViewModel.RatingContent}" Style="{StaticResource ParagraphStyle}"/>
                <HyperlinkButton x:Name="RatingButton" 
                        Content="{x:Bind ViewModel.RatingButtonText}" 
                        Style="{StaticResource DiscreteHyperlinkButtonStyle}"
                        HorizontalAlignment="Center"
                        NavigateUri=" https://www.microsoft.com/store/apps/9nblggh4nlzx"/>
                <TextBlock Text="{x:Bind ViewModel.DonateContent}" Style="{StaticResource ParagraphStyle}"/>
                <Button x:Name="DonationButton" 
                        Content="{x:Bind ViewModel.DonateButtonText}" 
                        Click="DonationButton_Click" 
                        Style="{StaticResource DefaultButtonStyle}"
                        Margin="0,10,0,0"
                        HorizontalAlignment="Center"/>
                <TextBlock x:Name="DonationSuccessMessage" 
                           Style="{StaticResource ParagraphStyle}"
                           Foreground="{StaticResource DarkAccentBrush}"/>
            </StackPanel>
        </StackPanel>
    </ScrollViewer>
</Page>

{'fraction_non_alphanumeric': 0.11157993436474449, 'fraction_numerical': 0.012001875293014533, 'mean_word_length': 2.0249574588769144, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 101, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 12}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 13, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7146235', 'n_tokens_mistral': 2766, 'n_tokens_neox': 2438, 'n_words': 355}