<commit_before><?php

return array(
    'router' => array(
        'routes' => array(
            'Grid\MultisiteCentral\Welcome\Index' => array(
                'type'      => 'Zend\Mvc\Router\Http\Segment',
                'options'   => array(
                    'route'     => '/app/:locale/central/welcome',
                    'defaults'  => array(
                        'controller' => 'Grid\MultisiteCentral\Controller\Welcome',
                        'action'     => 'index',
                    ),
                ),
            ),
            'Grid\MultisiteCentral\Welcome\DeleteSite' => array(
                'type'      => 'Zend\Mvc\Router\Http\Segment',
                'options'   => array(
                    'route'     => '/app/:locale/central/delete-site/:id',
                    'defaults'  => array(
                        'controller' => 'Grid\MultisiteCentral\Controller\Welcome',
                        'action'     => 'delete-site',
                    ),
                ),
            ),
            'Grid\MultisiteCentral\SiteAdmin\List' => array(
                'type'      => 'Zend\Mvc\Router\Http\Segment',
                'options'   => array(
                    'route'     => '/app/:locale/admin/central/sites',
                    'defaults'  => array(
                        'controller' => 'Grid\MultisiteCentral\Controller\SiteAdmin',
                        'action'     => 'list',
                    ),
                ),
            ),
            'Grid\MultisiteCentral\SiteAdmin\Delete' => array(
                'type'      => 'Zend\Mvc\Router\Http\Segment',
                'options'   => array(
                    'route'     => '/app/:locale/admin/central/delete-site/:id',
                    'defaults'  => array(
                        'controller' => 'Grid\MultisiteCentral\Controller\SiteAdmin',
                        'action'     => 'delete',
                    ),
                ),
            ),
            'Grid\MultisiteCentral\SiteWizard\Confirm' => array(
                'type'      => 'Zend\Mvc\Router\Http\Segment',
                'options'   => array(
                    'route'     => '/app/:locale/central/site-wizard/confirm/:hash',
                    'defaults'  => array(
                        'controller'    => 'Grid\MultisiteCentral\Controller\SiteWizard',
                        'action'        => 'confirm',
                    ),
                ),
            ),
            'Grid\MultisiteCentral\SiteWizard\Step' => array(
                'type'      => 'Zend\Mvc\Router\Http\Segment',
                'options'   => array(
                    'route'     => '/app/:locale/central/site-wizard[/[:step]]',
                    'defaults'  => array(
                        'controller'    => 'Grid\MultisiteCentral\Controller\SiteWizard',
                        'action'        => 'step',
                        'step'          => 'start',
                    ),
                ),
            ),
            'Grid\MultisiteCentral\Git\List' => array(
                'type'      => 'Zend\Mvc\Router\Http\Segment',
                'options'   => array(
                    'route'     => '/app/:locale/admin/system/git/log',
                    'defaults'  => array(
                        'controller' => 'Grid\MultisiteCentral\Controller\Git',
                        'action'     => 'list',
                    ),
                ),
            ),
        ),
    ),
    'controllers' => array(
        'invokables' => array(
            'Grid\MultisiteCentral\Controller\Git'           => 'Grid\MultisiteCentral\Controller\GitController',
            'Grid\MultisiteCentral\Controller\Welcome'       => 'Grid\MultisiteCentral\Controller\WelcomeController',
            'Grid\MultisiteCentral\Controller\SiteAdmin'     => 'Grid\MultisiteCentral\Controller\SiteAdminController',
            'Grid\MultisiteCentral\Controller\SiteWizard'    => 'Grid\MultisiteCentral\Controller\SiteWizardController',
        ),
    ),
    'factory' => array(
        'Grid\Paragraph\Model\Paragraph\StructureFactory' => array(
            'adapter' => array(
                'siteWizard' => 'Grid\MultisiteCentral\Model\Paragraph\Structure\SiteWizard',
            ),
        ),
    ),
    'translator' => array(
        'translation_file_patterns' => array(
            'central' => array(
                'type'          => 'phpArray',
                'base_dir'      => __DIR__ . '/../languages/central',
                'pattern'       => '%s.php',
                'text_domain'   => 'central',
            ),
        ),
    ),
    'modules'   => array(
        'Grid\Core'  => array(
            'navigation'    => array(
                'central'   => array(
                    'label'         => 'admin.navTop.central',
                    'textDomain'    => 'admin',
                    'uri'           => '#',
                    'order'         => 900,
                    'parentOnly'    => true,
                    'pages'         => array(
                        'siteList'  => array(
                            'label'         => 'central.site.list.title',
                            'textDomain'    => 'central',
                            'route'         => 'Grid\MultisiteCentral\SiteAdmin\List',
                            'order'         => 1,
                            'resource'      => 'central.sites',
                            'privilege'     => 'view',
                        ),
                    ),
                ),
             /* 'sysadmin'  => array(
                    'pages' => array(
                        'gitLog'    => array(
                            'label'         => 'admin.navTop.system.gitLog',
                            'textDomain'    => 'admin',
                            'route'         => 'Grid\MultisiteCentral\Git\List',
                            'order'         => 2,
                            'resource'      => 'sysadmin.git',
                            'privilege'     => 'view',
                        ),
                    ),
                ), */
            ),
        ),
        'Grid\User' => array(
            'display' => array(
                'centralWelcomeLink' => true,
            ),
        ),
        'Grid\Paragraph' => array(
            'customizeSelectors' => array(
                'siteWizardForm'            => '#paragraph-%id%.paragraph.paragraph-%type% form',
                'siteWizardFormDlDt'        => '#paragraph-%id%.paragraph.paragraph-%type% form dl dt',
                'siteWizardFormDlDd'        => '#paragraph-%id%.paragraph.paragraph-%type% form dl dd',
                'siteWizardFormLabel'       => '#paragraph-%id%.paragraph.paragraph-%type% form label',
            ),
            'customizeMapForms' => array(
                'siteWizard'    => array(
                    'element'               => 'general',
                    'siteWizardForm'        => 'general',
                    'siteWizardFormDlDt'    => 'general',
                    'siteWizardFormDlDd'    => 'general',
                    'siteWizardFormLabel'   => 'basic',
                ),
            ),
        ),
        'Grid\MultisiteCentral'  => array(
            'schemaPrefix'  => 'site_',
            'schemaPostfix' => '',
            'domainPostfix' => 'sites.local',
            'uploadsFiles'  => array(),
            'uploadsDirs'   => array(
                'pages',
                'settings',
                'snippets',
                'pages/images',
                'pages/documents',
            ),
        ),
        'Grid\MultisitePlatform' => array(
            'navigation' => array(
                'welcome' => array(
                    'order'         => 2,
                    'label'         => 'central.welcome',
                    'textDomain'    => 'central',
                    'route'         => 'Grid\MultisiteCentral\Welcome\Index',
                ),
            ),
        ),
    ),
    'form' => array(
        'Grid\Paragraph\CreateWizard\Start' => array(
            'elements'  => array(
                'type'  => array(
                    'spec'  => array(
                        'options'   => array(
                            'options'   => array(
                                'central'       => array(
                                    'label'     => 'paragraph.type-group.central',
                                    'order'     => 999,
                                    'options'   => array(<commit_msg>Rearrange "create paragraph" radio groups<commit_after><?php

return array(
    'router' => array(
        'routes' => array(
            'Grid\MultisiteCentral\Welcome\Index' => array(
                'type'      => 'Zend\Mvc\Router\Http\Segment',
                'options'   => array(
                    'route'     => '/app/:locale/central/welcome',
                    'defaults'  => array(
                        'controller' => 'Grid\MultisiteCentral\Controller\Welcome',
                        'action'     => 'index',
                    ),
                ),
            ),
            'Grid\MultisiteCentral\Welcome\DeleteSite' => array(
                'type'      => 'Zend\Mvc\Router\Http\Segment',
                'options'   => array(
                    'route'     => '/app/:locale/central/delete-site/:id',
                    'defaults'  => array(
                        'controller' => 'Grid\MultisiteCentral\Controller\Welcome',
                        'action'     => 'delete-site',
                    ),
                ),
            ),
            'Grid\MultisiteCentral\SiteAdmin\List' => array(
                'type'      => 'Zend\Mvc\Router\Http\Segment',
                'options'   => array(
                    'route'     => '/app/:locale/admin/central/sites',
                    'defaults'  => array(
                        'controller' => 'Grid\MultisiteCentral\Controller\SiteAdmin',
                        'action'     => 'list',
                    ),
                ),
            ),
            'Grid\MultisiteCentral\SiteAdmin\Delete' => array(
                'type'      => 'Zend\Mvc\Router\Http\Segment',
                'options'   => array(
                    'route'     => '/app/:locale/admin/central/delete-site/:id',
                    'defaults'  => array(
                        'controller' => 'Grid\MultisiteCentral\Controller\SiteAdmin',
                        'action'     => 'delete',
                    ),
                ),
            ),
            'Grid\MultisiteCentral\SiteWizard\Confirm' => array(
                'type'      => 'Zend\Mvc\Router\Http\Segment',
                'options'   => array(
                    'route'     => '/app/:locale/central/site-wizard/confirm/:hash',
                    'defaults'  => array(
                        'controller'    => 'Grid\MultisiteCentral\Controller\SiteWizard',
                        'action'        => 'confirm',
                    ),
                ),
            ),
            'Grid\MultisiteCentral\SiteWizard\Step' => array(
                'type'      => 'Zend\Mvc\Router\Http\Segment',
                'options'   => array(
                    'route'     => '/app/:locale/central/site-wizard[/[:step]]',
                    'defaults'  => array(
                        'controller'    => 'Grid\MultisiteCentral\Controller\SiteWizard',
                        'action'        => 'step',
                        'step'          => 'start',
                    ),
                ),
            ),
            'Grid\MultisiteCentral\Git\List' => array(
                'type'      => 'Zend\Mvc\Router\Http\Segment',
                'options'   => array(
                    'route'     => '/app/:locale/admin/system/git/log',
                    'defaults'  => array(
                        'controller' => 'Grid\MultisiteCentral\Controller\Git',
                        'action'     => 'list',
                    ),
                ),
            ),
        ),
    ),
    'controllers' => array(
        'invokables' => array(
            'Grid\MultisiteCentral\Controller\Git'           => 'Grid\MultisiteCentral\Controller\GitController',
            'Grid\MultisiteCentral\Controller\Welcome'       => 'Grid\MultisiteCentral\Controller\WelcomeController',
            'Grid\MultisiteCentral\Controller\SiteAdmin'     => 'Grid\MultisiteCentral\Controller\SiteAdminController',
            'Grid\MultisiteCentral\Controller\SiteWizard'    => 'Grid\MultisiteCentral\Controller\SiteWizardController',
        ),
    ),
    'factory' => array(
        'Grid\Paragraph\Model\Paragraph\StructureFactory' => array(
            'adapter' => array(
                'siteWizard' => 'Grid\MultisiteCentral\Model\Paragraph\Structure\SiteWizard',
            ),
        ),
    ),
    'translator' => array(
        'translation_file_patterns' => array(
            'central' => array(
                'type'          => 'phpArray',
                'base_dir'      => __DIR__ . '/../languages/central',
                'pattern'       => '%s.php',
                'text_domain'   => 'central',
            ),
        ),
    ),
    'modules'   => array(
        'Grid\Core'  => array(
            'navigation'    => array(
                'central'   => array(
                    'label'         => 'admin.navTop.central',
                    'textDomain'    => 'admin',
                    'uri'           => '#',
                    'order'         => 900,
                    'parentOnly'    => true,
                    'pages'         => array(
                        'siteList'  => array(
                            'label'         => 'central.site.list.title',
                            'textDomain'    => 'central',
                            'route'         => 'Grid\MultisiteCentral\SiteAdmin\List',
                            'order'         => 1,
                            'resource'      => 'central.sites',
                            'privilege'     => 'view',
                        ),
                    ),
                ),
             /* 'sysadmin'  => array(
                    'pages' => array(
                        'gitLog'    => array(
                            'label'         => 'admin.navTop.system.gitLog',
                            'textDomain'    => 'admin',
                            'route'         => 'Grid\MultisiteCentral\Git\List',
                            'order'         => 2,
                            'resource'      => 'sysadmin.git',
                            'privilege'     => 'view',
                        ),
                    ),
                ), */
            ),
        ),
        'Grid\User' => array(
            'display' => array(
                'centralWelcomeLink' => true,
            ),
        ),
        'Grid\Paragraph' => array(
            'customizeSelectors' => array(
                'siteWizardForm'            => '#paragraph-%id%.paragraph.paragraph-%type% form',
                'siteWizardFormDlDt'        => '#paragraph-%id%.paragraph.paragraph-%type% form dl dt',
                'siteWizardFormDlDd'        => '#paragraph-%id%.paragraph.paragraph-%type% form dl dd',
                'siteWizardFormLabel'       => '#paragraph-%id%.paragraph.paragraph-%type% form label',
            ),
            'customizeMapForms' => array(
                'siteWizard'    => array(
                    'element'               => 'general',
                    'siteWizardForm'        => 'general',
                    'siteWizardFormDlDt'    => 'general',
                    'siteWizardFormDlDd'    => 'general',
                    'siteWizardFormLabel'   => 'basic',
                ),
            ),
        ),
        'Grid\MultisiteCentral'  => array(
            'schemaPrefix'  => 'site_',
            'schemaPostfix' => '',
            'domainPostfix' => 'sites.local',
            'uploadsFiles'  => array(),
            'uploadsDirs'   => array(
                'pages',
                'settings',
                'snippets',
                'pages/images',
                'pages/documents',
            ),
        ),
        'Grid\MultisitePlatform' => array(
            'navigation' => array(
                'welcome' => array(
                    'order'         => 2,
                    'label'         => 'central.welcome',
                    'textDomain'    => 'central',
                    'route'         => 'Grid\MultisiteCentral\Welcome\Index',
                ),
            ),
        ),
    ),
    'form' => array(
        'Grid\Paragraph\CreateWizard\Start' => array(
            'elements'  => array(
                'type'  => array(
                    'spec'  => array(
                        'options'   => array(
                            'options'   => array(
                                'functions'     => array(
                                    'options'   => array(
{'fraction_non_alphanumeric': 0.13769778248338332, 'fraction_numerical': 0.0008823010411152286, 'mean_word_length': 1.0125473484848484, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 271, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4256909', 'n_tokens_mistral': 4501, 'n_tokens_neox': 4160, 'n_words': 571}