<?php

namespace ContainerXAyNPD7;

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

/*
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getExportGlsReturnShipmentService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\External\GLS\Export\ExportGlsReturnShipment' shared autowired service.
     *
     * @return \App\External\GLS\Export\ExportGlsReturnShipment
     */
    public static function do($container, $lazyLoad = true)
    {
        $a = ($container->privates['App\\External\\GLS\\ShipIT\\ShipITApiClient'] ?? $container->load('getShipITApiClientService'));

        if (isset($container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'])) {
            return $container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'];
        }
        $b = ($container->services['doctrine_mongodb.odm.default_document_manager'] ?? $container->load('getDoctrineMongodb_Odm_DefaultDocumentManagerService'));

        if (isset($container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'])) {
            return $container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'];
        }
        $c = ($container->privates['App\\Core\\Service\\History\\ReturnShipmentHistoryBuilder'] ?? $container->load('getReturnShipmentHistoryBuilderService'));

        if (isset($container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'])) {
            return $container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'];
        }
        $d = ($container->privates['App\\Core\\Service\\ReturnShipment\\ReturnShipmentStateService'] ?? $container->load('getReturnShipmentStateServiceService'));

        if (isset($container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'])) {
            return $container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'];
        }
        $e = ($container->privates['App\\Core\\Builder\\EventBuilder'] ?? $container->load('getEventBuilderService'));

        if (isset($container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'])) {
            return $container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'];
        }
        $f = ($container->services['router'] ?? self::getRouterService($container));

        if (isset($container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'])) {
            return $container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'];
        }
        $g = ($container->privates['App\\Core\\Service\\ReturnShipment\\ReturnShipmentLockService'] ?? $container->load('getReturnShipmentLockServiceService'));

        if (isset($container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'])) {
            return $container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'];
        }
        $h = ($container->services['event_dispatcher'] ?? self::getEventDispatcherService($container));

        if (isset($container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'])) {
            return $container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'];
        }
        $i = ($container->privates['App\\External\\GLS\\ShipIT\\Mapper\\ReturnRequestMapper'] ??= new \App\External\GLS\ShipIT\Mapper\ReturnRequestMapper($container->getEnv('SHIPIT_CONTACT_ID')));

        $instance = new \App\External\GLS\Export\ExportGlsReturnShipment(new \App\External\GLS\Service\CreateReturnManager(new \App\External\GLS\Service\CreateShopReturnService($i, ($container->privates['App\\External\\GLS\\ShipIT\\Mapper\\CreatedShipmentToShopReturnParcelMapper'] ?? $container->load('getCreatedShipmentToShopReturnParcelMapperService')), $a, $b, ($container->privates['App\\Repository\\ReturnParcelRepository'] ?? $container->load('getReturnParcelRepositoryService')), $c), new \App\External\GLS\Service\CreatePickAndReturnService($i, new \App\External\GLS\ShipIT\Mapper\CreatedShipmentToPickAndReturnParcelsMapper(($container->privates['App\\Repository\\ParcelRepository'] ?? $container->load('getParcelRepositoryService'))), $a, $b, $c), $b, $d, $e, $f, $container->getEnv('API_BASE_URL')), ($container->privates['monolog.logger'] ?? self::getMonolog_LoggerService($container)), $g, $h, $b);

        if (isset($container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'])) {
            return $container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'];
        }

        return $container->privates['App\\External\\GLS\\Export\\ExportGlsReturnShipment'] = $instance;
    }
}
