Supply of an electric-hydraulic crane