<?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 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__, 5).'/www/html/core/backend/ViewDefinitions/Service/ViewDefinitionsProviderInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Engine/Service/DefinitionEntryHandlingTrait.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/LegacyHandler/ViewDefinitionsHandler.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/LegacyHandler/FieldDefinitionsInjectorTrait.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/LegacyHandler/RecordViewDefinitionHandler.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Process/Service/ActionDefinitionProvider.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Data/Service/RecordActionDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Data/Service/RecordActionDefinitionProvider.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/Service/WidgetDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/LegacyHandler/WidgetDefinitionProvider.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/LegacyHandler/Widgets/WidgetDefinitionParsers.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/LegacyHandler/ViewConfigMappers.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/LegacyHandler/RecordModalDefinitionHandler.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Data/Service/RecordModalActionDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Data/Service/RecordModalActionDefinitionProvider.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/Service/SubPanelDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/LegacyHandler/SubPanelDefinitionHandler.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Process/Service/SubpanelTopActionDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Process/Service/SubpanelTopActionDefinitionProvider.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Process/Service/SubpanelLineActionDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Process/Service/SubpanelLineActionDefinitionProvider.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/LegacyHandler/ListViewDefinitionHandler.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Process/Service/BulkActionDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Process/Service/BulkActionDefinitionProvider.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Process/Service/LineActionDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Process/Service/LineActionDefinitionProvider.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Process/Service/TableActionDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Process/Service/TableActionDefinitionProvider.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Filters/Service/FilterDefinitionProviderInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/Filters/Service/FilterDefinitionProvider.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/ViewDefinitions/LegacyHandler/ViewDefinitionMappers.php';

        $a = ($container->privates['App\\FieldDefinitions\\LegacyHandler\\FieldDefinitionsHandler'] ?? self::getFieldDefinitionsHandlerService($container));

        if (isset($container->privates['App\\ViewDefinitions\\LegacyHandler\\ViewDefinitionsHandler'])) {
            return $container->privates['App\\ViewDefinitions\\LegacyHandler\\ViewDefinitionsHandler'];
        }
        $b = ($container->privates['App\\Engine\\Service\\ActionAvailabilityChecker\\ActionAvailabilityChecker'] ?? $container->load('getActionAvailabilityCheckerService'));

        if (isset($container->privates['App\\ViewDefinitions\\LegacyHandler\\ViewDefinitionsHandler'])) {
            return $container->privates['App\\ViewDefinitions\\LegacyHandler\\ViewDefinitionsHandler'];
        }
        $c = ($container->privates['App\\Authentication\\LegacyHandler\\UserHandler'] ?? $container->load('getUserHandlerService'));

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

        if (isset($container->privates['App\\ViewDefinitions\\LegacyHandler\\ViewDefinitionsHandler'])) {
            return $container->privates['App\\ViewDefinitions\\LegacyHandler\\ViewDefinitionsHandler'];
        }
        $e = ($container->privates['App\\Engine\\LegacyHandler\\LegacyScopeState'] ??= new \App\Engine\LegacyHandler\LegacyScopeState());
        $f = ($container->privates['App\\Module\\LegacyHandler\\ModuleNameMapperHandler'] ?? self::getModuleNameMapperHandlerService($container));
        $g = ($container->privates['monolog.logger'] ?? self::getMonolog_LoggerService($container));
        $h = new \App\Data\Service\RecordActionDefinitionProvider($container->parameters['module.recordview.actions'], $b, $container->parameters['module.action_acl_module_override']);
        $i = ($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack());

        $j = new \App\ViewDefinitions\LegacyHandler\WidgetDefinitionProvider((\dirname(__DIR__, 5).'/www/html'), (\dirname(__DIR__, 5).'/www/html/public/legacy'), 'SCRMSESSID', 'SCRMSESSID', $e, $i, $b, new \App\ViewDefinitions\LegacyHandler\Widgets\WidgetDefinitionParsers(new RewindableGenerator(function () use ($container) {
            yield 0 => ($container->privates['App\\ViewDefinitions\\LegacyHandler\\Widgets\\DefinitionParsers\\RecordTableWidgetDefinitionParser'] ?? $container->load('getRecordTableWidgetDefinitionParserService'));
        }, 1)));
        $k = ($container->privates['App\\ViewDefinitions\\Service\\FieldAliasMapper'] ?? $container->load('getFieldAliasMapperService'));
        $l = new \App\ViewDefinitions\LegacyHandler\ViewConfigMappers(new RewindableGenerator(fn () => new \EmptyIterator(), 0));

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

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

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