 facade = require('./accounteditshortcutsfacade')
 EventType = require './accounteditshortcutseventtype'
 globals = require 'globals'
+recorder = require 'record-shortcuts'
 
 # On Mac we display corresponding unicode chars for the following keys.
 # See: http://macbiblioblog.blogspot.nl/2005/05/special-key-symbols.html


    # Handles dom click events.
    #
    clickHandler = =>
      return  if @_active

      @setClass ACTIVE_CLASS_NAME
      @unsetClass DUP_CLASS_NAME
      @_active = yes
      binding.updatePartial ''

      # Start a recording session.
      @emit EventType.Item.SELECTED,

  # Class name to set for duplicate/colliding items.
  DUP_CLASS_NAME = 'collides'

  # Class name that we use to catch cancel click.
  CANCEL_CLASS_NAME = 'cancel'

  # The maximum description string length.
  DESCRIPTION_TRUNC_LEN = 30

