Bifurcations in the theory of current transfer to cathodes of dc discharges and transitions between different modes