<commit_before>﻿<phone:PhoneApplicationPage
    x:Class="PetSociety_for_Windows.Pages.Event.Event"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:my="clr-namespace:Microsoft.Phone.Controls.Maps;assembly=Microsoft.Phone.Controls.Maps"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Canvas x:Name="canvas" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="800" Background="Black" ManipulationStarted="canvas_ManipulationStarted" ManipulationDelta="canvas_ManipulationDelta" ManipulationCompleted="canvas_ManipulationCompleted">
        <Canvas.Resources>
            <Storyboard x:Name="moveAnimation">
                <DoubleAnimation Duration="0:0:0.2" To="0" Storyboard.TargetProperty="(Canvas.Left)" Storyboard.TargetName="LayoutRoot" d:IsOptimized="True" />
            </Storyboard>
        </Canvas.Resources>

        <Canvas  CacheMode="BitmapCache" x:Name="LayoutRoot" Width="900"  VerticalAlignment="Stretch" Background="Transparent" Canvas.Left="-420" Height="768">
            <Border Width="420"  CacheMode="BitmapCache" Background="#FF31363E" Grid.Column="0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="{Binding ActualHeight, ElementName=canvas}">
                <ScrollViewer>
                    <Grid>
                        <TextBox  Name="SearchTB" Text="Search" Margin="0,0,0,707" Background="#FF434C59" BorderBrush="#FF2C3038" FontSize="36" Foreground="#FFE0E1CA" FontWeight="Bold" Style="{StaticResource SearchTBStyle}" Cursor="Arrow" GotFocus="NavigateToSearch"/>
                        <Button Click="NavigateToHome" Name="HomeBtn" Content="Home" Margin="16,81,16,626" Style="{StaticResource navHomeStyle}"/>
                        <Path Data="M10,154 L86,154" Fill="#FFA6A6A6" HorizontalAlignment="Left" Height="2" Margin="0,206,0,0" Stretch="Fill" Stroke="#FFA6A6A6" StrokeThickness="5" UseLayoutRounding="False" VerticalAlignment="Top" Width="410"/>
                        <TextBlock HorizontalAlignment="Left" Height="25" Margin="10,176,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="128" Text="Account" FontStyle="Italic" FontSize="21.333"/>
                        <Button Content="Profile" Margin="10,213,16,530" Style="{StaticResource navAccountStyle}"/>
                        <Button Click="NavigateToEvent" Content="Events" Margin="10,275,16,468" Style="{StaticResource navEventDtyle}"/>
                        <Path Data="M10,154 L86,154" Fill="#FFA6A6A6" HorizontalAlignment="Left" Height="2" Margin="0,377,0,0" Stretch="Fill" Stroke="#FFA6A6A6" StrokeThickness="5" UseLayoutRounding="False" VerticalAlignment="Top" Width="410"/>
                        <TextBlock HorizontalAlignment="Left" Height="27" Margin="10,345,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="167" Text="Find Pets" FontSize="21.333" FontStyle="Italic"/>
                        <Button Click="NavigateToLost" Content="Lost Pets" Margin="10,380,16,363" Style="{StaticResource navLostStyle}"/>
                        <Button Click="NavigateToStray" Content="Stray Pets" Margin="10,437,16,306" Style="{StaticResource navStrayStyle}"/>
                        <Button Click="NavigateToAnalysis" Content="Analysis" Margin="10,494,16,249" Style="{StaticResource navAnalysisStyle}"/>
                        <Button Click="NavigateToNearby" Content="Nearby" Margin="10,551,16,192" Style="{StaticResource navNearbyStyle}"/>
                        <Path Data="M10,154 L86,154" Fill="#FFA6A6A6" HorizontalAlignment="Left" Height="2" Margin="0,646,0,0" Stretch="Fill" Stroke="#FFA6A6A6" StrokeThickness="5" UseLayoutRounding="False" VerticalAlignment="Top" Width="410"/>
                        <TextBlock HorizontalAlignment="Left" Height="28" Margin="10,613,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="157" Text="Settings" FontSize="21.333" FontStyle="Italic"/>
                        <Button Click="NavigateToSetting" Content="App Settings" Margin="10,653,16,90" Style="{StaticResource navAccountSettingStyle}"/>
                        <Button Click="Logout" Content="Log Out" Margin="10,710,16,33" Style="{StaticResource navLogoutStyle}"/>
                    </Grid>
                </ScrollViewer>
            </Border>
            <Grid x:Name="grdCommands" Margin="420,0,0,0" CacheMode="BitmapCache" Grid.Column="1" Background="#FFCFD4E2" Height="{Binding ActualHeight, ElementName=canvas}" Width="480" >
                <Grid.RowDefinitions>
                    <RowDefinition Height="76"/>
                    <RowDefinition Height="*"/>
                </Grid.RowDefinitions>
                <Grid Grid.Row="0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Background="#FF3B5998">
                    <Button  Click="OpenClose_Left" Content="" HorizontalAlignment="Left" VerticalAlignment="Top" Width="82" Height="86" Foreground="{x:Null}" BorderBrush="{x:Null}" Margin="-4,-8,0,-2" ClickMode="Press" Style="{StaticResource MainNavButtonStyle}">
                        <Button.Background>
                            <ImageBrush Stretch="Fill" ImageSource="ic_10-device-access-storage.png"/>
                        </Button.Background>
                    </Button>
                    <Button  Click="OpenClose_Right" Content="" HorizontalAlignment="Right" VerticalAlignment="Top" Width="80" Height="78" Style="{StaticResource MainNavButtonStyle}" BorderBrush="{x:Null}" Foreground="{x:Null}" Margin="0,-2,0,0">
                        <Button.Background>
                            <ImageBrush Stretch="Fill" ImageSource="ic_7-location-place.png"/>
                        </Button.Background>
                    </Button>
                    <TextBlock HorizontalAlignment="Left" Margin="88,0,0,0" TextWrapping="Wrap" Text="Events" VerticalAlignment="Top" Width="315" Height="56" FontWeight="Bold" FontSize="48" Foreground="#FFFBF7F7" TextAlignment="Center"/>
                </Grid>
                <Border Grid.Row="1" Background="#FFCFD4E2" Margin="0,0,0,-724">

                    <ListBox x:Name="eventListBox" Height="441" Margin="12,10,0,0" VerticalAlignment="Top" Width="456" ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Visible" Tap="eventListBox_Tap">
                        <ListBox.ItemTemplate>
                            <DataTemplate>
                                <StackPanel>
                                    <TextBlock Text="{Binding Name}"/>
                                    <TextBlock Text="{Binding Description}"/>
                                    <TextBlock Text="{Binding StartDateTime}"/>
                                    <TextBlock Text="{Binding EndDateTime}"/>
                                    <Rectangle Fill="#FFA6A6A6" Height="3" Stroke="#FFA6A6A6" StrokeThickness="5"/>
                                </StackPanel>

                            </DataTemplate>
                        </ListBox.ItemTemplate><commit_msg>add img button<commit_after>﻿<phone:PhoneApplicationPage
    x:Class="PetSociety_for_Windows.Pages.Event.Event"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:my="clr-namespace:Microsoft.Phone.Controls.Maps;assembly=Microsoft.Phone.Controls.Maps"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Canvas x:Name="canvas" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="800" Background="Black" ManipulationStarted="canvas_ManipulationStarted" ManipulationDelta="canvas_ManipulationDelta" ManipulationCompleted="canvas_ManipulationCompleted">
        <Canvas.Resources>
            <Storyboard x:Name="moveAnimation">
                <DoubleAnimation Duration="0:0:0.2" To="0" Storyboard.TargetProperty="(Canvas.Left)" Storyboard.TargetName="LayoutRoot" d:IsOptimized="True" />
            </Storyboard>
        </Canvas.Resources>

        <Canvas  CacheMode="BitmapCache" x:Name="LayoutRoot" Width="900"  VerticalAlignment="Stretch" Background="Transparent" Canvas.Left="-420" Height="768">
            <Border Width="420"  CacheMode="BitmapCache" Background="#FF31363E" Grid.Column="0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="{Binding ActualHeight, ElementName=canvas}">
                <ScrollViewer>
                    <Grid>
                        <TextBox  Name="SearchTB" Text="Search" Margin="0,0,0,707" Background="#FF434C59" BorderBrush="#FF2C3038" FontSize="36" Foreground="#FFE0E1CA" FontWeight="Bold" Style="{StaticResource SearchTBStyle}" Cursor="Arrow" GotFocus="NavigateToSearch"/>
                        <Button Click="NavigateToHome" Name="HomeBtn" Content="Home" Margin="16,81,16,626" Style="{StaticResource navHomeStyle}"/>
                        <Path Data="M10,154 L86,154" Fill="#FFA6A6A6" HorizontalAlignment="Left" Height="2" Margin="0,206,0,0" Stretch="Fill" Stroke="#FFA6A6A6" StrokeThickness="5" UseLayoutRounding="False" VerticalAlignment="Top" Width="410"/>
                        <TextBlock HorizontalAlignment="Left" Height="25" Margin="10,176,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="128" Text="Account" FontStyle="Italic" FontSize="21.333"/>
                        <Button Content="Profile" Margin="10,213,16,530" Style="{StaticResource navAccountStyle}"/>
                        <Button Click="NavigateToEvent" Content="Events" Margin="10,275,16,468" Style="{StaticResource navEventDtyle}"/>
                        <Path Data="M10,154 L86,154" Fill="#FFA6A6A6" HorizontalAlignment="Left" Height="2" Margin="0,377,0,0" Stretch="Fill" Stroke="#FFA6A6A6" StrokeThickness="5" UseLayoutRounding="False" VerticalAlignment="Top" Width="410"/>
                        <TextBlock HorizontalAlignment="Left" Height="27" Margin="10,345,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="167" Text="Find Pets" FontSize="21.333" FontStyle="Italic"/>
                        <Button Click="NavigateToLost" Content="Lost Pets" Margin="10,380,16,363" Style="{StaticResource navLostStyle}"/>
                        <Button Click="NavigateToStray" Content="Stray Pets" Margin="10,437,16,306" Style="{StaticResource navStrayStyle}"/>
                        <Button Click="NavigateToAnalysis" Content="Analysis" Margin="10,494,16,249" Style="{StaticResource navAnalysisStyle}"/>
                        <Button Click="NavigateToNearby" Content="Nearby" Margin="10,551,16,192" Style="{StaticResource navNearbyStyle}"/>
                        <Path Data="M10,154 L86,154" Fill="#FFA6A6A6" HorizontalAlignment="Left" Height="2" Margin="0,646,0,0" Stretch="Fill" Stroke="#FFA6A6A6" StrokeThickness="5" UseLayoutRounding="False" VerticalAlignment="Top" Width="410"/>
                        <TextBlock HorizontalAlignment="Left" Height="28" Margin="10,613,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="157" Text="Settings" FontSize="21.333" FontStyle="Italic"/>
                        <Button Click="NavigateToSetting" Content="App Settings" Margin="10,653,16,90" Style="{StaticResource navAccountSettingStyle}"/>
                        <Button Click="Logout" Content="Log Out" Margin="10,710,16,33" Style="{StaticResource navLogoutStyle}"/>
                    </Grid>
                </ScrollViewer>
            </Border>
            <Grid x:Name="grdCommands" Margin="420,0,0,0" CacheMode="BitmapCache" Grid.Column="1" Background="#FFCFD4E2" Height="{Binding ActualHeight, ElementName=canvas}" Width="480" >
                <Grid.RowDefinitions>
                    <RowDefinition Height="76"/>
                    <RowDefinition Height="*"/>
                </Grid.RowDefinitions>
                <Grid Grid.Row="0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Background="#FF3B5998">
                    <Button  Click="OpenClose_Left" Content="" HorizontalAlignment="Left" VerticalAlignment="Top" Width="82" Height="86" Foreground="{x:Null}" BorderBrush="{x:Null}" Margin="-4,-8,0,-2" ClickMode="Press" Style="{StaticResource MainNavButtonStyle}">
                        <Button.Background>
                            <ImageBrush Stretch="Fill" ImageSource="ic_10-device-access-storage.png"/>
                        </Button.Background>
                    </Button>
                    <Button  Click="OpenClose_Right" Content="" HorizontalAlignment="Right" VerticalAlignment="Top" Width="80" Height="78" Style="{StaticResource MainNavButtonStyle}" BorderBrush="{x:Null}" Foreground="{x:Null}" Margin="0,-2,0,0">
                        <Button.Background>
                            <ImageBrush Stretch="Fill" ImageSource="add.png"/>
                        </Button.Background>
                    </Button>
                    <TextBlock HorizontalAlignment="Left" Margin="88,0,0,0" TextWrapping="Wrap" Text="Events" VerticalAlignment="Top" Width="315" Height="56" FontWeight="Bold" FontSize="48" Foreground="#FFFBF7F7" TextAlignment="Center"/>
                </Grid>
                <Border Grid.Row="1" Background="#FFCFD4E2" Margin="0,0,0,-724">

                    <ListBox x:Name="eventListBox" Height="441" Margin="12,10,0,0" VerticalAlignment="Top" Width="456" ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Visible" Tap="eventListBox_Tap">
                        <ListBox.ItemTemplate>
                            <DataTemplate>
                                <StackPanel>
                                    <TextBlock Text="{Binding Name}"/>
                                    <TextBlock Text="{Binding Description}"/>
                                    <TextBlock Text="{Binding StartDateTime}"/>
                                    <TextBlock Text="{Binding EndDateTime}"/>
                                    <Rectangle Fill="#FFA6A6A6" Height="3" Stroke="#FFA6A6A6" StrokeThickness="5"/>
                                </StackPanel>

                            </DataTemplate>
                        </ListBox.ItemTemplate>
{'fraction_non_alphanumeric': 0.1431661750245821, 'fraction_numerical': 0.047525401507702396, 'mean_word_length': 3.185459533607682, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 127, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 16}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1890917', 'n_tokens_mistral': 4838, 'n_tokens_neox': 4153, 'n_words': 643}