<?php

namespace ContainerAyoJmP9;

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 getGetDuplicateRecordHandlerService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\Process\LegacyHandler\GetDuplicateRecordHandler' shared autowired service.
     *
     * @return \App\Process\LegacyHandler\GetDuplicateRecordHandler
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Process/Service/ProcessHandlerInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Process/LegacyHandler/GetDuplicateRecordHandler.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Data/Service/Record/Duplicate/DuplicateFieldMapperRegistry.php';

        $a = ($container->privates['App\\Data\\LegacyHandler\\RecordHandler'] ?? $container->load('getRecordHandlerService'));

        if (isset($container->privates['App\\Process\\LegacyHandler\\GetDuplicateRecordHandler'])) {
            return $container->privates['App\\Process\\LegacyHandler\\GetDuplicateRecordHandler'];
        }
        $b = ($container->privates['App\\FieldDefinitions\\LegacyHandler\\FieldDefinitionsHandler'] ?? self::getFieldDefinitionsHandlerService($container));

        if (isset($container->privates['App\\Process\\LegacyHandler\\GetDuplicateRecordHandler'])) {
            return $container->privates['App\\Process\\LegacyHandler\\GetDuplicateRecordHandler'];
        }

        $instance = new \App\Process\LegacyHandler\GetDuplicateRecordHandler($a, $b, new \App\Data\Service\Record\Duplicate\DuplicateFieldMapperRegistry(new RewindableGenerator(function () use ($container) {
            yield 0 => ($container->privates['App\\Module\\Service\\Fields\\File\\DuplicateMappers\\FileDuplicateFieldMapper'] ?? $container->load('getFileDuplicateFieldMapperService'));
        }, 1)), ($container->services['app.system-configs'] ?? self::getApp_SystemconfigsService($container)), ($container->privates['App\\Module\\LegacyHandler\\ModuleNameMapperHandler'] ?? self::getModuleNameMapperHandlerService($container)));

        if (isset($container->privates['App\\Process\\LegacyHandler\\GetDuplicateRecordHandler'])) {
            return $container->privates['App\\Process\\LegacyHandler\\GetDuplicateRecordHandler'];
        }

        return $container->privates['App\\Process\\LegacyHandler\\GetDuplicateRecordHandler'] = $instance;
    }
}
