<?php

namespace Container0vkjyHd;

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 getViewDefinitionsHandlerService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\ViewDefinitions\LegacyHandler\ViewDefinitionsHandler' shared autowired service.
     *
     * @return \App\ViewDefinitions\LegacyHandler\ViewDefinitionsHandler
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 3).'/core/backend/ViewDefinitions/Service/ViewDefinitionsProviderInterface.php';
        include_once \dirname(__DIR__, 3).'/core/backend/ViewDefinitions/LegacyHandler/ViewDefinitionsHandler.php';
        include_once \dirname(__DIR__, 3).'/core/backend/ViewDefinitions/LegacyHandler/FieldDefinitionsInjectorTrait.php';
        include_once \dirname(__DIR__, 3).'/core/backend/ViewDefinitions/LegacyHandler/RecordViewDefinitionHandler.php';
        include_once \dirname(__DIR__, 3).'/core/backend/Engine/Service/DefinitionEntryHandlingTrait.php';
        include_once \dirname(__DIR__, 3).'/core/backend/Process/Service/ActionDefinitionProvider.php';
        include_once \dirname(__DIR__, 3).'/core/backend/Data/Service/RecordActionDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 3).'/core/backend/Data/Service/RecordActionDefinitionProvider.php';
        include_once \dirname(__DIR__, 3).'/core/backend/ViewDefinitions/Service/WidgetDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 3).'/core/backend/ViewDefinitions/LegacyHandler/WidgetDefinitionProvider.php';
        include_once \dirname(__DIR__, 3).'/core/backend/ViewDefinitions/Service/SubPanelDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 3).'/core/backend/ViewDefinitions/LegacyHandler/SubPanelDefinitionHandler.php';
        include_once \dirname(__DIR__, 3).'/core/backend/Process/Service/SubpanelTopActionDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 3).'/core/backend/Process/Service/SubpanelTopActionDefinitionProvider.php';
        include_once \dirname(__DIR__, 3).'/core/backend/Process/Service/SubpanelLineActionDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 3).'/core/backend/Process/Service/SubpanelLineActionDefinitionProvider.php';
        include_once \dirname(__DIR__, 3).'/core/backend/ViewDefinitions/LegacyHandler/ListViewDefinitionHandler.php';
        include_once \dirname(__DIR__, 3).'/core/backend/Process/Service/BulkActionDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 3).'/core/backend/Process/Service/BulkActionDefinitionProvider.php';
        include_once \dirname(__DIR__, 3).'/core/backend/Process/Service/LineActionDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 3).'/core/backend/Process/Service/LineActionDefinitionProvider.php';
        include_once \dirname(__DIR__, 3).'/core/backend/Process/Service/TableActionDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 3).'/core/backend/Process/Service/TableActionDefinitionProvider.php';
        include_once \dirname(__DIR__, 3).'/core/backend/Filters/Service/FilterDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 3).'/core/backend/Filters/Service/FilterDefinitionProvider.php';
        include_once \dirname(__DIR__, 3).'/core/backend/ViewDefinitions/LegacyHandler/ViewDefinitionMappers.php';

        $a = ($container->privates['App\\Authentication\\LegacyHandler\\UserHandler'] ?? $container->load('getUserHandlerService'));

        if (isset($container->privates['App\\ViewDefinitions\\LegacyHandler\\ViewDefinitionsHandler'])) {
            return $container->privates['App\\ViewDefinitions\\LegacyHandler\\ViewDefinitionsHandler'];
        }
        $b = ($container->privates['security.helper'] ?? $container->load('getSecurity_HelperService'));

        if (isset($container->privates['App\\ViewDefinitions\\LegacyHandler\\ViewDefinitionsHandler'])) {
            return $container->privates['App\\ViewDefinitions\\LegacyHandler\\ViewDefinitionsHandler'];
        }
        $c = ($container->privates['App\\Engine\\LegacyHandler\\LegacyScopeState'] ??= new \App\Engine\LegacyHandler\LegacyScopeState());
        $d = ($container->privates['App\\Module\\LegacyHandler\\ModuleNameMapperHandler'] ?? self::getModuleNameMapperHandlerService($container));
        $e = ($container->privates['App\\FieldDefinitions\\LegacyHandler\\FieldDefinitionsHandler'] ?? $container->load('getFieldDefinitionsHandlerService'));
        $f = ($container->privates['monolog.logger'] ?? self::getMonolog_LoggerService($container));
        $g = ($container->privates['App\\Engine\\Service\\ActionAvailabilityChecker\\ActionAvailabilityChecker'] ?? $container->load('getActionAvailabilityCheckerService'));
        $h = ($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack());

        $i = new \App\ViewDefinitions\LegacyHandler\WidgetDefinitionProvider(\dirname(__DIR__, 3), (\dirname(__DIR__, 3).'/public/legacy'), 'SCRMSESSID', 'SCRMSESSID', $c, $h, $g);
        $j = ($container->privates['App\\ViewDefinitions\\Service\\FieldAliasMapper'] ?? $container->load('getFieldAliasMapperService'));

        return $container->privates['App\\ViewDefinitions\\LegacyHandler\\ViewDefinitionsHandler'] = new \App\ViewDefinitions\LegacyHandler\ViewDefinitionsHandler(\dirname(__DIR__, 3), (\dirname(__DIR__, 3).'/public/legacy'), 'SCRMSESSID', 'SCRMSESSID', $c, $d, $e, new \App\ViewDefinitions\LegacyHandler\RecordViewDefinitionHandler(\dirname(__DIR__, 3), (\dirname(__DIR__, 3).'/public/legacy'), 'SCRMSESSID', 'SCRMSESSID', $c, $f, new \App\Data\Service\RecordActionDefinitionProvider($container->parameters['module.recordview.actions'], $g), $i, $j, $container->parameters['module.recordview.sidebar_widgets'], $container->parameters['module.recordview.bottom_widgets'], $container->parameters['module.recordview.top_widgets'], $h), new \App\ViewDefinitions\LegacyHandler\SubPanelDefinitionHandler(\dirname(__DIR__, 3), (\dirname(__DIR__, 3).'/public/legacy'), 'SCRMSESSID', 'SCRMSESSID', $c, $d, $e, new \App\Process\Service\SubpanelTopActionDefinitionProvider($container->parameters['module.subpanel.top_actions'], $container->parameters['module.subpanel.top_buttons'], $g), new \App\Process\Service\SubpanelLineActionDefinitionProvider($container->parameters['module.subpanel.line_actions'], $g), $j, $h), new \App\ViewDefinitions\LegacyHandler\ListViewDefinitionHandler(\dirname(__DIR__, 3), (\dirname(__DIR__, 3).'/public/legacy'), 'SCRMSESSID', 'SCRMSESSID', $c, $f, new \App\Process\Service\BulkActionDefinitionProvider($container->parameters['module.listview.bulk_action'], $g), $i, new \App\Process\Service\LineActionDefinitionProvider($container->parameters['module.listview.line_action'], ($container->privates['App\\Engine\\LegacyHandler\\AclHandler'] ?? $container->load('getAclHandlerService')), $e, $d, ($container->privates['App\\Languages\\LegacyHandler\\AppListStringsHandler'] ?? $container->load('getAppListStringsHandlerService')), $a), new \App\Process\Service\TableActionDefinitionProvider($container->parameters['module.listview.table_action'], $g), new \App\Filters\Service\FilterDefinitionProvider($b), $j, $h, $container->parameters['module.listview.sidebar_widgets']), ($container->privates['App\\ViewDefinitions\\LegacyHandler\\MassUpdateDefinitionHandler'] ?? $container->load('getMassUpdateDefinitionHandlerService')), $j, $f, new \App\ViewDefinitions\LegacyHandler\ViewDefinitionMappers(new RewindableGenerator(function () use ($container) {
            yield 0 => ($container->privates['App\\ViewDefinitions\\LegacyHandler\\LegacyToFrontendViewDefinitionMapper'] ?? $container->load('getLegacyToFrontendViewDefinitionMapperService'));
            yield 1 => ($container->privates['App\\ViewDefinitions\\LegacyHandler\\ListView\\BulkActions\\MassUpdateBulkActionMapper'] ??= new \App\ViewDefinitions\LegacyHandler\ListView\BulkActions\MassUpdateBulkActionMapper());
            yield 2 => ($container->privates['App\\ViewDefinitions\\LegacyHandler\\RecordView\\RecordThreadDefinitionMapper'] ?? $container->load('getRecordThreadDefinitionMapperService'));
            yield 3 => ($container->privates['App\\ViewDefinitions\\LegacyHandler\\RecordView\\RecordViewCurrencyFieldMapper'] ?? $container->load('getRecordViewCurrencyFieldMapperService'));
            yield 4 => ($container->privates['App\\ViewDefinitions\\LegacyHandler\\RecordView\\RecordViewDynamicEnumMapper'] ??= new \App\ViewDefinitions\LegacyHandler\RecordView\RecordViewDynamicEnumMapper());
            yield 5 => ($container->privates['App\\ViewDefinitions\\LegacyHandler\\RecordView\\RecordViewEmailMapper'] ??= new \App\ViewDefinitions\LegacyHandler\RecordView\RecordViewEmailMapper());
            yield 6 => ($container->privates['App\\ViewDefinitions\\LegacyHandler\\RecordView\\RecordViewGroupTypeMapper'] ?? $container->load('getRecordViewGroupTypeMapperService'));
            yield 7 => ($container->privates['App\\ViewDefinitions\\LegacyHandler\\RecordView\\RecordViewReadOnlyMapper'] ??= new \App\ViewDefinitions\LegacyHandler\RecordView\RecordViewReadOnlyMapper());
            yield 8 => ($container->privates['App\\ViewDefinitions\\LegacyHandler\\SearchDefs\\SearchDefsAddOnlyFieldsMapper'] ??= new \App\ViewDefinitions\LegacyHandler\SearchDefs\SearchDefsAddOnlyFieldsMapper());
            yield 9 => ($container->privates['App\\ViewDefinitions\\LegacyHandler\\SearchDefs\\SearchDefsDateTypeMapper'] ??= new \App\ViewDefinitions\LegacyHandler\SearchDefs\SearchDefsDateTypeMapper());
            yield 10 => ($container->privates['App\\ViewDefinitions\\LegacyHandler\\SearchDefs\\SearchDefsEnumToRelateTypeMapper'] ??= new \App\ViewDefinitions\LegacyHandler\SearchDefs\SearchDefsEnumToRelateTypeMapper());
            yield 11 => ($container->privates['App\\ViewDefinitions\\LegacyHandler\\SearchDefs\\SearchDefsNumberTypeMapper'] ?? $container->load('getSearchDefsNumberTypeMapperService'));
            yield 12 => ($container->privates['App\\ViewDefinitions\\LegacyHandler\\SearchDefs\\SearchDefsReadOnlyMapper'] ??= new \App\ViewDefinitions\LegacyHandler\SearchDefs\SearchDefsReadOnlyMapper());
            yield 13 => ($container->privates['App\\ViewDefinitions\\LegacyHandler\\SubpanelButtonTraverser'] ?? $container->load('getSubpanelButtonTraverserService'));
        }, 14)), $h);
    }
}
