<commit_before>import UIKit

class MenuContainers {
  // MARK: - properties
  
  // references to main
  let menuParent: UIViewController
  let menuChild: UIViewController
  let menuLeft: UIViewController
  let menuRight: UIViewController
  
  var menuLeftWidth: CGFloat = 250
  var menuRightWidth: CGFloat = 100
  
  var menuSpeed: NSTimeInterval = 0.4
  // TODO: make menu and modals the same (need to add shadow to modal)
  var menuFade: CGFloat = 0.9
  var menuShadow: Float = 0.7
  var menuPanMinPercentage: CGFloat = 10
  
  private var menuPanBeganLocation: CGPoint = CGPointZero
  private var menuPanEndedLocation: CGPoint = CGPointZero
  private var menuPanBeganHorizontal: Bool = false
  
  private var menuGestureSingleTap: UITapGestureRecognizer?
  private var menuGesturePanSwipe: UIPanGestureRecognizer?
  
  private enum MenuPanDirection {
    case Left
    case Right
  }
  
  internal enum MenuSide {
    case Left
    case Right
    case Center
  }
  
  // MARK: - init<commit_msg>fixed menu speed<commit_after>import UIKit

class MenuContainers {
  // MARK: - properties
  
  // references to main
  let menuParent: UIViewController
  let menuChild: UIViewController
  let menuLeft: UIViewController
  let menuRight: UIViewController
  
  var menuLeftWidth: CGFloat = 250
  var menuRightWidth: CGFloat = 100
  
  var menuSpeed: NSTimeInterval = 0.25
  // TODO: make menu and modals the same (need to add shadow to modal)
  var menuFade: CGFloat = 0.9
  var menuShadow: Float = 0.7
  var menuPanMinPercentage: CGFloat = 10
  
  private var menuPanBeganLocation: CGPoint = CGPointZero
  private var menuPanEndedLocation: CGPoint = CGPointZero
  private var menuPanBeganHorizontal: Bool = false
  
  private var menuGestureSingleTap: UITapGestureRecognizer?
  private var menuGesturePanSwipe: UIPanGestureRecognizer?
  
  private enum MenuPanDirection {
    case Left
    case Right
  }
  
  internal enum MenuSide {
    case Left
    case Right
    case Center
  }
  
  // MARK: - init
{'fraction_non_alphanumeric': 0.05194805194805195, 'fraction_numerical': 0.014485514485514486, 'mean_word_length': 3.480984340044743, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4712432', 'n_tokens_mistral': 678, 'n_tokens_neox': 614, 'n_words': 199}