<?php

namespace Container35X5zJE;

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

/**
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
 */
class getSuluAdmin_AdminControllerService extends App_KernelDevDebugContainer
{
    /**
     * Gets the public 'sulu_admin.admin_controller' shared service.
     *
     * @return \Sulu\Bundle\AdminBundle\Controller\AdminController
     */
    public static function do($container, $lazyLoad = true)
    {
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'AdminBundle'.\DIRECTORY_SEPARATOR.'Controller'.\DIRECTORY_SEPARATOR.'AdminController.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'AdminBundle'.\DIRECTORY_SEPARATOR.'Metadata'.\DIRECTORY_SEPARATOR.'MetadataProviderRegistry.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'AdminBundle'.\DIRECTORY_SEPARATOR.'Metadata'.\DIRECTORY_SEPARATOR.'MetadataProviderInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'AdminBundle'.\DIRECTORY_SEPARATOR.'Metadata'.\DIRECTORY_SEPARATOR.'ListMetadata'.\DIRECTORY_SEPARATOR.'ListMetadataProvider.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'AdminBundle'.\DIRECTORY_SEPARATOR.'Admin'.\DIRECTORY_SEPARATOR.'View'.\DIRECTORY_SEPARATOR.'ViewRegistry.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'AdminBundle'.\DIRECTORY_SEPARATOR.'Admin'.\DIRECTORY_SEPARATOR.'Navigation'.\DIRECTORY_SEPARATOR.'NavigationRegistry.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'AdminBundle'.\DIRECTORY_SEPARATOR.'FieldType'.\DIRECTORY_SEPARATOR.'FieldTypeOptionRegistryInterface.php';
        include_once \dirname(__DIR__, 5).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'sulu'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Sulu'.\DIRECTORY_SEPARATOR.'Bundle'.\DIRECTORY_SEPARATOR.'AdminBundle'.\DIRECTORY_SEPARATOR.'FieldType'.\DIRECTORY_SEPARATOR.'FieldTypeOptionRegistry.php';

        $a = ($container->services['sulu_admin.admin_pool'] ?? $container->load('getSuluAdmin_AdminPoolService'));
        $b = new \Sulu\Bundle\AdminBundle\Metadata\MetadataProviderRegistry();
        $b->addMetadataProvider('form', ($container->privates['sulu_admin.form_metadata_provider'] ?? $container->load('getSuluAdmin_FormMetadataProviderService')));
        $b->addMetadataProvider('list', new \Sulu\Bundle\AdminBundle\Metadata\ListMetadata\ListMetadataProvider(new RewindableGenerator(function () use ($container) {
            yield 0 => ($container->privates['sulu_admin.xml_list_metadata_loader'] ?? $container->load('getSuluAdmin_XmlListMetadataLoaderService'));
        }, 1)));
        $c = new \Sulu\Bundle\AdminBundle\Admin\View\ViewRegistry($a);
        $d = new \Sulu\Bundle\AdminBundle\FieldType\FieldTypeOptionRegistry();
        $d->add('tag_selection', 'selection', ['default_type' => 'auto_complete', 'resource_key' => 'tags', 'types' => ['auto_complete' => ['allow_add' => true, 'display_property' => 'name', 'id_property' => 'name', 'filter_parameter' => 'names', 'search_properties' => [0 => 'name']]]]);
        $d->add('page_selection', 'selection', ['default_type' => 'list_overlay', 'resource_key' => 'pages', 'view' => ['name' => 'sulu_page.page_edit_form', 'result_to_view' => ['id' => 'id', 'webspaceKey' => 'webspace']], 'types' => ['list_overlay' => ['adapter' => 'column_list', 'list_key' => 'pages', 'display_properties' => [0 => 'title', 1 => 'url'], 'icon' => 'su-document', 'label' => 'sulu_page.selection_label', 'overlay_title' => 'sulu_page.selection_overlay_title']]]);
        $d->add('snippet_selection', 'selection', ['default_type' => 'list_overlay', 'resource_key' => 'snippets', 'view' => ['name' => 'sulu_snippet.edit_form', 'result_to_view' => ['id' => 'id']], 'types' => ['list_overlay' => ['adapter' => 'table', 'list_key' => 'snippets', 'display_properties' => [0 => 'title'], 'icon' => 'su-snippet', 'label' => 'sulu_snippet.selection_label', 'overlay_title' => 'sulu_snippet.selection_overlay_title']]]);
        $d->add('category_selection', 'selection', ['default_type' => 'list', 'resource_key' => 'categories', 'types' => ['list' => ['adapter' => 'tree_table_slim', 'list_key' => 'categories']]]);
        $d->add('contact_selection', 'selection', ['default_type' => 'list_overlay', 'resource_key' => 'contacts', 'types' => ['list_overlay' => ['adapter' => 'table', 'list_key' => 'contacts', 'display_properties' => [0 => 'firstName', 1 => 'lastName'], 'icon' => 'su-user', 'label' => 'sulu_contact.contact_selection_label', 'overlay_title' => 'sulu_contact.contact_selection_overlay_title']]]);
        $d->add('account_selection', 'selection', ['default_type' => 'list_overlay', 'resource_key' => 'accounts', 'types' => ['list_overlay' => ['adapter' => 'table', 'list_key' => 'accounts', 'display_properties' => [0 => 'name'], 'icon' => 'su-user', 'label' => 'sulu_contact.account_selection_label', 'overlay_title' => 'sulu_contact.account_selection_overlay_title']]]);
        $d->add('single_page_selection', 'single_selection', ['default_type' => 'list_overlay', 'resource_key' => 'pages', 'view' => ['name' => 'sulu_page.page_edit_form', 'result_to_view' => ['id' => 'id', 'webspace' => 'webspace']], 'types' => ['list_overlay' => ['adapter' => 'column_list', 'detail_options' => ['ghost-content' => true], 'list_key' => 'pages', 'display_properties' => [0 => 'title'], 'empty_text' => 'sulu_page.no_page_selected', 'icon' => 'su-document', 'overlay_title' => 'sulu_page.single_selection_overlay_title']]]);
        $d->add('single_snippet_selection', 'single_selection', ['default_type' => 'list_overlay', 'resource_key' => 'snippets', 'view' => ['name' => 'sulu_snippet.edit_form', 'result_to_view' => ['id' => 'id']], 'types' => ['list_overlay' => ['adapter' => 'table', 'list_key' => 'snippets', 'display_properties' => [0 => 'title'], 'icon' => 'su-snippet', 'empty_text' => 'sulu_snippet.no_snippet_selected', 'overlay_title' => 'sulu_snippet.single_snippet_selection_overlay_title', 'detail_options' => []]]]);
        $d->add('single_category_selection', 'single_selection', ['default_type' => 'list_overlay', 'resource_key' => 'categories', 'view' => ['name' => 'sulu_category.edit_form', 'result_to_view' => ['id' => 'id']], 'types' => ['list_overlay' => ['adapter' => 'tree_table_slim', 'list_key' => 'categories', 'display_properties' => [0 => 'name'], 'empty_text' => 'sulu_category.no_category_selected', 'icon' => 'fa-tags', 'overlay_title' => 'sulu_category.single_category_selection_overlay_title', 'detail_options' => []]]]);
        $d->add('single_account_selection', 'single_selection', ['default_type' => 'auto_complete', 'resource_key' => 'accounts', 'types' => ['auto_complete' => ['display_property' => 'name', 'search_properties' => [0 => 'number', 1 => 'name']], 'list_overlay' => ['adapter' => 'table', 'list_key' => 'accounts', 'display_properties' => [0 => 'name'], 'empty_text' => 'sulu_contact.no_account_selected', 'icon' => 'su-house', 'overlay_title' => 'sulu_contact.single_account_selection_overlay_title', 'detail_options' => []]]]);
        $d->add('single_contact_selection', 'single_selection', ['default_type' => 'list_overlay', 'resource_key' => 'contacts', 'view' => ['name' => 'sulu_contact.contact_edit_form', 'result_to_view' => ['id' => 'id']], 'types' => ['auto_complete' => ['display_property' => 'fullName', 'search_properties' => [0 => 'fullName']], 'list_overlay' => ['adapter' => 'table', 'list_key' => 'contacts', 'display_properties' => [0 => 'fullName'], 'empty_text' => 'sulu_contact.no_contact_selected', 'icon' => 'su-user', 'overlay_title' => 'sulu_contact.single_contact_selection_overlay_title', 'detail_options' => []]]]);
        $d->add('single_contact_title_selection', 'single_selection', ['default_type' => 'single_select', 'resource_key' => 'contact_titles', 'types' => ['single_select' => ['id_property' => 'id', 'display_property' => 'title', 'overlay_title' => 'sulu_contact.edit_title_overlay_title']]]);
        $d->add('single_contact_position_selection', 'single_selection', ['default_type' => 'single_select', 'resource_key' => 'contact_positions', 'types' => ['single_select' => ['id_property' => 'id', 'display_property' => 'position', 'overlay_title' => 'sulu_contact.edit_position_overlay_title']]]);

        return $container->services['sulu_admin.admin_controller'] = new \Sulu\Bundle\AdminBundle\Controller\AdminController(($container->services['router'] ?? $container->getRouterService()), ($container->services['security.token_storage'] ?? $container->getSecurity_TokenStorageService()), $a, ($container->services['jms_serializer'] ?? $container->getJmsSerializerService()), ($container->services['fos_rest.view_handler'] ?? $container->load('getFosRest_ViewHandlerService')), ($container->services['.container.private.twig'] ?? $container->get_Container_Private_TwigService()), ($container->privates['translator.default'] ?? $container->getTranslator_DefaultService()), $b, $c, new \Sulu\Bundle\AdminBundle\Admin\Navigation\NavigationRegistry(($container->services['translator'] ?? $container->getTranslatorService()), $a, $c), $d, ($container->services['sulu_contact.contact_manager'] ?? $container->load('getSuluContact_ContactManagerService')), ($container->services['sulu_page.smart_content.data_provider_pool'] ?? $container->load('getSuluPage_SmartContent_DataProviderPoolService')), ($container->privates['sulu_markup.link_tag.provider_pool'] ?? $container->getSuluMarkup_LinkTag_ProviderPoolService()), ($container->services['sulu.core.localization_manager'] ?? $container->load('getSulu_Core_LocalizationManagerService')), 'dev', '2.2.3', NULL, $container->parameters['sulu_admin.resources'], $container->parameters['sulu_core.locales'], $container->parameters['sulu_core.translations'], 'en', 20);
    }
}
