<commit_before>﻿<Window x:Class="AerialMapping.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013" 
        xmlns:local="clr-namespace:AerialMapping"
        x:Name="_this"
		Title="AirView" 
		Height="350" 
		Width="525" WindowState="Maximized">
    <Window.Resources>
        <Storyboard x:Key="sbShowRightMenu" >
            <ThicknessAnimation Storyboard.TargetProperty="Margin" From="0,0,-150,0" To="0,0,0,0" DecelerationRatio=".9" Duration="0:0:1" />
        </Storyboard>
        <Storyboard x:Key="sbHideRightMenu">
            <ThicknessAnimation Storyboard.TargetProperty="Margin" From="0,0,0,0" To="0,0,-150,0" AccelerationRatio=".9" Duration="0:0:1" />
        </Storyboard>
    </Window.Resources>
    <Grid>
        <esri:MapView x:Name="BaseMapView"
					  Initialized="BaseMapView_Initialized"
                      LayerLoaded="BaseMapView_LayerLoaded"
                      
                      Map="{Binding IncidentMap}">
 
        </esri:MapView>
        <DockPanel>
            <Menu x:Name="Menu_Bar" DockPanel.Dock="Top">
                <MenuItem x:Name="File_Menu" Header="_File">
                    <MenuItem Header="_Open"
                              Click="bOpenFileDialog_Click" />
                    <MenuItem Header="_Exit"
                              Click="bExitProgram_Click" />
                </MenuItem>
                <MenuItem Header="_View">
                    <MenuItem Header="_Do Something" />
                </MenuItem>
                <MenuItem Header="_Window">
                    <MenuItem Header="_Analytics" />
                </MenuItem>
            </Menu>
            <StackPanel></StackPanel>
        </DockPanel>

        <Button x:Name="bRotateLeft" Content="⟲"
                Height="20" Width="20" Margin="10,40,0,0"
                HorizontalAlignment="Left" VerticalAlignment="Top"
                Background="Beige" Click="bRotateLeft_Click">
            <Button.ToolTip>Rotate to the left</Button.ToolTip>
        </Button>
        <Button x:Name="bRotateDefault" Content="↑"
                Height="20" Width="20" Margin="30,40,0,0"
                HorizontalAlignment="Left" VerticalAlignment="Top"
                Background="Beige" Click="bRotateDefault_Click">
            <Button.ToolTip>Default rotation</Button.ToolTip>
        </Button>
        <Button x:Name="bRotateRight" Content="⟳"
                Height="20" Width="20" Margin="50, 40, 0 0"
                HorizontalAlignment="Left" VerticalAlignment="Top"
                Background="Beige" Click="bRotateRight_Click">
            <Button.ToolTip>Rotate to the right</Button.ToolTip>
        </Button>
        <Button x:Name="bZoomIn" Content="+"
                Height="20" Width="20" Margin="10, 80, 0 0"
                HorizontalAlignment="Left" VerticalAlignment="Top"
                Background="Beige" Click="bZoomIn_Click" />
        <Button x:Name="bZoomOut" Content="-"
                Height="20" Width="20" Margin="10,410,0,-111"
                HorizontalAlignment="Left" VerticalAlignment="Top"
                Background="Beige" Click="bZoomOut_Click" />
        <Slider x:Name="bZoomSlider" HorizontalAlignment="Left" 
                Margin="10,105,0,0" VerticalAlignment="Top" 
                Height="300" Width="20" RenderTransformOrigin="0.5,0.5"
                Orientation="Vertical" Minimum="0" 
                Maximum="100" ValueChanged="bZoomSlider_Click"
                IsDirectionReversed="True"/>
        
        <!--Time Slider-->
        <local:FormattedSlider x:Name="bTimeSlider" HorizontalAlignment="Center" 
                Margin="0,0,0,10" VerticalAlignment="Bottom" 
                Width="800"                 
                AutoToolTipPlacement="TopLeft"   
                AutoToolTipContent="{Binding TimeSliderToolTip}"               
                Orientation="Horizontal" IsSnapToTickEnabled="True"
                TickPlacement="Both" TickFrequency="1"
                Minimum="0" Maximum="{Binding TimeSliderMax}" 
                Value="{Binding TimeSliderValue}" BorderThickness="2">
            <Slider.BorderBrush>
                <SolidColorBrush Color="#FFD4D4D4" Opacity="0.5"/>
            </Slider.BorderBrush>
            <Slider.Background>
                <SolidColorBrush Color="#7FFFFFFF" Opacity="0.5"/>
            </Slider.Background>
            <Slider.Effect>
                <DropShadowEffect ShadowDepth="2" Direction="300" BlurRadius="3"/>
            </Slider.Effect>
        </local:FormattedSlider>

        <!--Popout Side Menu-->
        <StackPanel Panel.ZIndex="2" Name="pnlRightMenu" Orientation="Horizontal" Height="400" HorizontalAlignment="Right" Margin="0,0,-150,0">
            <Grid>
                <!--Button to hide/show the Side Menu-->
                <Button Name="bRightMenuShowHide" Width="30" Height="30" Click="bRightMenuShowHide_Click" Content="&lt;" FontWeight="Bold">
                    <Button.Template>
                        <ControlTemplate TargetType="Button">
                            <Grid>
                                <Ellipse Stroke="#323232" StrokeThickness="2">
                                    <Ellipse.Fill>
                                        <RadialGradientBrush>
                                            <GradientStop Offset="0" Color="PaleTurquoise" />
                                        </RadialGradientBrush>
                                    </Ellipse.Fill>
                                </Ellipse>
                                <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
                            </Grid>
                        </ControlTemplate>
                    </Button.Template>
                </Button>
            </Grid>
            
            <!--Main Panel of the Side Menu-->
            <Border BorderBrush="#AF1719" BorderThickness="1" Width="150" Background="#4C808080" >
                <StackPanel VerticalAlignment="Top">
                    <TreeView x:Name="LayerView" HorizontalAlignment="Center" Height="210" ItemsSource="{Binding TreeViewItems}" Margin="0,10,0,0" VerticalAlignment="Top" Width="100">
                        <TreeView.ItemTemplate>
                            <HierarchicalDataTemplate DataType="{x:Type MenuItem}" ItemsSource="{Binding Items}">
                                <TextBlock Text="{Binding Title}" />
                            </HierarchicalDataTemplate>
                        </TreeView.ItemTemplate>
                    </TreeView>
                    <Button Content="Add Layer" Command="{Binding AddLayerCommand}" CommandParameter="{Binding ElementName=_this}" HorizontalAlignment="Center" Margin="0, 10, 0, 0" Width="100"/>
                    <Button Content="Remove Layer" Command="{Binding RemoveLayerCommand}" CommandParameter="{Binding ElementName=_this}" HorizontalAlignment="Center" Margin="0, 10, 0, 0" Width="100"/>
                    <Button x:Name="TreeButton" Content="Tree stuffandjunk" Click="TreeButton_Click"  HorizontalAlignment="Center" Margin="24,10,24,0" Width="100"/>
                </StackPanel>
            </Border>
        </StackPanel>

    </Grid>
</Window><commit_msg>made the side slideout bar wider<commit_after>﻿<Window x:Class="AerialMapping.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013" 
        xmlns:local="clr-namespace:AerialMapping"
        x:Name="_this"
		Title="AirView" 
		Height="350" 
		Width="525" WindowState="Maximized">
    <Window.Resources>
        <Storyboard x:Key="sbShowRightMenu" >
            <ThicknessAnimation Storyboard.TargetProperty="Margin" From="0,0,-250,0" To="0,0,0,0" DecelerationRatio=".9" Duration="0:0:1" />
        </Storyboard>
        <Storyboard x:Key="sbHideRightMenu">
            <ThicknessAnimation Storyboard.TargetProperty="Margin" From="0,0,0,0" To="0,0,-250,0" AccelerationRatio=".9" Duration="0:0:1" />
        </Storyboard>
    </Window.Resources>
    <Grid>
        <esri:MapView x:Name="BaseMapView"
					  Initialized="BaseMapView_Initialized"
                      LayerLoaded="BaseMapView_LayerLoaded"
                      
                      Map="{Binding IncidentMap}">
 
        </esri:MapView>
        <DockPanel>
            <Menu x:Name="Menu_Bar" DockPanel.Dock="Top">
                <MenuItem x:Name="File_Menu" Header="_File">
                    <MenuItem Header="_Open"
                              Click="bOpenFileDialog_Click" />
                    <MenuItem Header="_Exit"
                              Click="bExitProgram_Click" />
                </MenuItem>
                <MenuItem Header="_View">
                    <MenuItem Header="_Do Something" />
                </MenuItem>
                <MenuItem Header="_Window">
                    <MenuItem Header="_Analytics" />
                </MenuItem>
            </Menu>
            <StackPanel></StackPanel>
        </DockPanel>

        <Button x:Name="bRotateLeft" Content="⟲"
                Height="20" Width="20" Margin="10,40,0,0"
                HorizontalAlignment="Left" VerticalAlignment="Top"
                Background="Beige" Click="bRotateLeft_Click">
            <Button.ToolTip>Rotate to the left</Button.ToolTip>
        </Button>
        <Button x:Name="bRotateDefault" Content="↑"
                Height="20" Width="20" Margin="30,40,0,0"
                HorizontalAlignment="Left" VerticalAlignment="Top"
                Background="Beige" Click="bRotateDefault_Click">
            <Button.ToolTip>Default rotation</Button.ToolTip>
        </Button>
        <Button x:Name="bRotateRight" Content="⟳"
                Height="20" Width="20" Margin="50, 40, 0 0"
                HorizontalAlignment="Left" VerticalAlignment="Top"
                Background="Beige" Click="bRotateRight_Click">
            <Button.ToolTip>Rotate to the right</Button.ToolTip>
        </Button>
        <Button x:Name="bZoomIn" Content="+"
                Height="20" Width="20" Margin="10, 80, 0 0"
                HorizontalAlignment="Left" VerticalAlignment="Top"
                Background="Beige" Click="bZoomIn_Click" />
        <Button x:Name="bZoomOut" Content="-"
                Height="20" Width="20" Margin="10,410,0,-111"
                HorizontalAlignment="Left" VerticalAlignment="Top"
                Background="Beige" Click="bZoomOut_Click" />
        <Slider x:Name="bZoomSlider" HorizontalAlignment="Left" 
                Margin="10,105,0,0" VerticalAlignment="Top" 
                Height="300" Width="20" RenderTransformOrigin="0.5,0.5"
                Orientation="Vertical" Minimum="0" 
                Maximum="100" ValueChanged="bZoomSlider_Click"
                IsDirectionReversed="True"/>
        
        <!--Time Slider-->
        <local:FormattedSlider x:Name="bTimeSlider" HorizontalAlignment="Center" 
                Margin="0,0,0,10" VerticalAlignment="Bottom" 
                Width="800"                 
                AutoToolTipPlacement="TopLeft"   
                AutoToolTipContent="{Binding TimeSliderToolTip}"               
                Orientation="Horizontal" IsSnapToTickEnabled="True"
                TickPlacement="Both" TickFrequency="1"
                Minimum="0" Maximum="{Binding TimeSliderMax}" 
                Value="{Binding TimeSliderValue}" BorderThickness="2">
            <Slider.BorderBrush>
                <SolidColorBrush Color="#FFD4D4D4" Opacity="0.5"/>
            </Slider.BorderBrush>
            <Slider.Background>
                <SolidColorBrush Color="#7FFFFFFF" Opacity="0.5"/>
            </Slider.Background>
            <Slider.Effect>
                <DropShadowEffect ShadowDepth="2" Direction="300" BlurRadius="3"/>
            </Slider.Effect>
        </local:FormattedSlider>

        <!--Popout Side Menu-->
        <StackPanel Panel.ZIndex="2" Name="pnlRightMenu" Orientation="Horizontal" Height="400" HorizontalAlignment="Right" Margin="0,0,-250,0">
            <Grid>
                <!--Button to hide/show the Side Menu-->
                <Button Name="bRightMenuShowHide" Width="30" Height="30" Click="bRightMenuShowHide_Click" Content="&lt;" FontWeight="Bold">
                    <Button.Template>
                        <ControlTemplate TargetType="Button">
                            <Grid>
                                <Ellipse Stroke="#323232" StrokeThickness="2">
                                    <Ellipse.Fill>
                                        <RadialGradientBrush>
                                            <GradientStop Offset="0" Color="PaleTurquoise" />
                                        </RadialGradientBrush>
                                    </Ellipse.Fill>
                                </Ellipse>
                                <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
                            </Grid>
                        </ControlTemplate>
                    </Button.Template>
                </Button>
            </Grid>
            
            <!--Main Panel of the Side Menu-->
            <Border BorderBrush="#AF1719" BorderThickness="1" Width="250" Background="#4C808080" >
                <StackPanel VerticalAlignment="Top">
                    <TreeView x:Name="LayerView" HorizontalAlignment="Center" Height="210" ItemsSource="{Binding TreeViewItems}" Margin="0,10,0,0" VerticalAlignment="Top" Width="200">
                        <TreeView.ItemTemplate>
                            <HierarchicalDataTemplate DataType="{x:Type MenuItem}" ItemsSource="{Binding Items}">
                                <TextBlock Text="{Binding Title}" />
                            </HierarchicalDataTemplate>
                        </TreeView.ItemTemplate>
                    </TreeView>
                    <Button Content="Add Layer" Command="{Binding AddLayerCommand}" CommandParameter="{Binding ElementName=_this}" HorizontalAlignment="Center" Margin="0, 10, 0, 0" Width="100"/>
                    <Button Content="Remove Layer" Command="{Binding RemoveLayerCommand}" CommandParameter="{Binding ElementName=_this}" HorizontalAlignment="Center" Margin="0, 10, 0, 0" Width="100"/>
                    <Button x:Name="TreeButton" Content="Tree stuffandjunk" Click="TreeButton_Click"  HorizontalAlignment="Center" Margin="24,10,24,0" Width="100"/>
                </StackPanel>
            </Border>
        </StackPanel>

    </Grid>
</Window>
{'fraction_non_alphanumeric': 0.1287740009498609, 'fraction_numerical': 0.029445688309926048, 'mean_word_length': 1.8845401174168297, 'pattern_counts': {'":': 0, '<': 191, '<?xml version=': 0, '>': 191, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7232532', 'n_tokens_mistral': 4328, 'n_tokens_neox': 3763, 'n_words': 618}