<?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 getUserPreferenceHandlerService extends App_KernelProdContainer
{
    /*
     * Gets the private 'App\UserPreferences\LegacyHandler\UserPreferenceHandler' shared autowired service.
     *
     * @return \App\UserPreferences\LegacyHandler\UserPreferenceHandler
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/UserPreferences/Service/UserPreferencesProviderInterface.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/UserPreferences/LegacyHandler/UserPreferenceHandler.php';
        include_once \dirname(__DIR__, 5).'/www/html/core/backend/UserPreferences/LegacyHandler/UserPreferencesMappers.php';

        $instance = new \App\UserPreferences\LegacyHandler\UserPreferenceHandler((\dirname(__DIR__, 5).'/www/html'), (\dirname(__DIR__, 5).'/www/html/public/legacy'), 'SCRMSESSID', 'SCRMSESSID', ($container->privates['App\\Engine\\LegacyHandler\\LegacyScopeState'] ??= new \App\Engine\LegacyHandler\LegacyScopeState()), $container->parameters['legacy.exposed_user_preferences'], new \App\UserPreferences\LegacyHandler\UserPreferencesMappers(new RewindableGenerator(function () use ($container) {
            yield 0 => ($container->privates['App\\UserPreferences\\LegacyHandler\\Mappers\\CurrencyPreferenceMapper'] ?? $container->load('getCurrencyPreferenceMapperService'));
            yield 1 => ($container->privates['App\\UserPreferences\\LegacyHandler\\Mappers\\DateFormatPreferenceMapper'] ?? $container->load('getDateFormatPreferenceMapperService'));
            yield 2 => ($container->privates['App\\UserPreferences\\LegacyHandler\\Mappers\\SnoozeAlertTimerPreferenceMapper'] ?? $container->load('getSnoozeAlertTimerPreferenceMapperService'));
            yield 3 => ($container->privates['App\\UserPreferences\\LegacyHandler\\Mappers\\TimeFormatPreferenceMapper'] ?? $container->load('getTimeFormatPreferenceMapperService'));
            yield 4 => ($container->privates['App\\UserPreferences\\LegacyHandler\\Mappers\\TimezonePreferenceMapper'] ??= new \App\UserPreferences\LegacyHandler\Mappers\TimezonePreferenceMapper());
            yield 5 => ($container->privates['App\\UserPreferences\\LegacyHandler\\Mappers\\TotpPreferenceMapper'] ?? $container->load('getTotpPreferenceMapperService'));
            yield 6 => ($container->privates['App\\UserPreferences\\LegacyHandler\\Mappers\\UiPreferenceMapper'] ??= new \App\UserPreferences\LegacyHandler\Mappers\UiPreferenceMapper());
        }, 7)), $container->parameters['legacy.user_preferences_key_map'], ($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack()));

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

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