def getMode(mode):
    """
    Process EAST mode code and returns reveal class
    Classes are chosen by closest resemblance
    :param mode: EAST mode code
    :return: Reveal class
    """
    if(mode == "incremental_allume"):
        return "fragment highlight-red"
    if(mode == "incremental_ombre"):
        return "fragment highlight-blue"
    if(mode == "pliage"):
        return "fragment grow"
    if(mode == "accordeon"):
        return "fragment current-visible"
    return "fragment"