<?php
/**
 * This class has been auto-generated by PHP-DI.
 */
class CompiledContainer extends DI\CompiledContainer{
    const METHOD_MAPPING = array (
  'icons' => 'get1',
  'base_path' => 'get2',
  'app_path' => 'get3',
  'assets_path' => 'get4',
  'cache_path' => 'get5',
  'config_path' => 'get6',
  'files_path' => 'get7',
  'subEntry1' => 'get8',
  'manifest_path' => 'get9',
  'source_path' => 'get10',
  'translations_path' => 'get11',
  'views_path' => 'get12',
  'full_path' => 'get13',
  'app_files' => 'get14',
  'middlewares' => 'get15',
  'sort_methods' => 'get16',
  'view_functions' => 'get17',
  'App\\HiddenFiles' => 'get18',
  'Symfony\\Component\\Finder\\Finder' => 'get19',
  'Symfony\\Contracts\\Cache\\CacheInterface' => 'get20',
  'Symfony\\Contracts\\Translation\\TranslatorInterface' => 'get21',
  'Slim\\Views\\Twig' => 'get22',
  'Whoops\\RunInterface' => 'get23',
  'cache_driver' => 'get24',
  'cache_lifetime' => 'get25',
  'cache_lottery' => 'get26',
  'view_cache' => 'get27',
  'memcached_host' => 'get28',
  'memcached_port' => 'get29',
  'memcached_config' => 'get30',
  'redis_host' => 'get31',
  'redis_port' => 'get32',
  'redis_config' => 'get33',
  'http_cache' => 'get34',
  'debug' => 'get35',
  'language' => 'get36',
  'site_title' => 'get37',
  'meta_description' => 'get38',
  'home_text' => 'get39',
  'display_readmes' => 'get40',
  'readmes_first' => 'get41',
  'direct_links' => 'get42',
  'zip_downloads' => 'get43',
  'zip_compress' => 'get44',
  'sort_order' => 'get45',
  'reverse_sort' => 'get46',
  'analytics_file' => 'get47',
  'hidden_files_list' => 'get48',
  'hidden_files' => 'get49',
  'hide_app_files' => 'get50',
  'hide_dot_files' => 'get51',
  'hide_vcs_files' => 'get52',
  'date_format' => 'get53',
  'timezone' => 'get54',
  'max_hash_size' => 'get55',
);

    protected function get1()
    {
        return [
            '7z' => 'fas fa-file-archive',
            'aac' => 'fas fa-music',
            'accdb' => 'fas fa-database',
            'ai' => 'fas fa-image',
            'aif' => 'fas fa-music',
            'apk' => 'fab fa-android',
            'app' => 'fas fa-window',
            'avi' => 'fas fa-video',
            'bak' => 'fas fa-save',
            'bat' => 'fas fa-terminal',
            'bmp' => 'fas fa-image',
            'box' => 'fas fa-archive',
            'bz' => 'fas fa-file-archive',
            'c' => 'fas fa-code',
            'cfg' => 'fas fa-file-alt',
            'class' => 'fas fa-code',
            'cmd' => 'fas fa-terminal',
            'com' => 'fas fa-window',
            'cpp' => 'fas fa-code',
            'css' => 'fab fab fa-css3',
            'csv' => 'fas fa-file-csv',
            'db' => 'fas fa-database',
            'dbf' => 'fas fa-database',
            'deb' => 'fas fa-archive',
            'doc' => 'fas fa-file-word',
            'docx' => 'fas fa-file-word',
            'drw' => 'fas fa-image',
            'email' => 'fas fa-envelope',
            'eot' => 'fas fa-font-case',
            'eps' => 'fas fa-image',
            'erb' => 'fas fa-code',
            'exe' => 'fab fa-windows',
            'flac' => 'fas fa-music',
            'flv' => 'fas fa-video',
            'gam' => 'fas fa-gamepad',
            'gif' => 'fas fa-image',
            'gz' => 'fas fa-file-archive',
            'htm' => 'fab fa-html5',
            'html' => 'fab fa-html5',
            'ico' => 'fas fa-image',
            'ini' => 'fas fa-file-alt',
            'iso' => 'fas fa-compact-disc',
            'jar' => 'fas fa-window',
            'java' => 'fab fa-java',
            'jpeg' => 'fas fa-image',
            'jpg' => 'fas fa-image',
            'js' => 'fab fa-js',
            'json' => 'fas fa-file-alt',
            'lock' => 'fas fa-lock',
            'log' => 'fas fa-file-alt',
            'mail' => 'fas fa-envelope',
            'md' => 'fab fa-markdown',
            'mdb' => 'fas fa-database',
            'mid' => 'fas fa-music',
            'midi' => 'fas fa-music',
            'mkv' => 'fas fa-video',
            'mov' => 'fas fa-video',
            'mp3' => 'fas fa-music',
            'mp4' => 'fas fa-video',
            'mpa' => 'fas fa-music',
            'mpg' => 'fas fa-video',
            'msg' => 'fas fa-envelope',
            'msi' => 'fas fa-window',
            'nes' => 'fas fa-gamepad',
            'odt' => 'fas fa-file-alt',
            'ogg' => 'fas fa-music',
            'ogv' => 'fas fa-video',
            'otf' => 'fas fa-font-case',
            'pdb' => 'fas fa-database',
            'pdf' => 'fas fa-file-pdf',
            'php' => 'fab fa-php',
            'phtml' => 'fab fa-html5',
            'pl' => 'fas fa-code',
            'png' => 'fas fa-image',
            'ppt' => 'fas fa-file-powerpoint',
            'pptx' => 'fas fa-file-powerpoint',
            'ps' => 'fas fa-image',
            'psd' => 'fas fa-image',
            'py' => 'fab fa-python',
            'rar' => 'fas fa-file-archive',
            'rb' => 'fas fa-code',
            'rom' => 'fas fa-gamepad',
            'rpm' => 'fas fa-archive',
            'rtf' => 'fas fa-file-alt',
            'sav' => 'fas fa-save',
            'sh' => 'fas fa-terminal',
            'sql' => 'fas fa-database',
            'svg' => 'fas fa-image',
            'swf' => 'fas fa-video',
            'tar' => 'fas fa-file-archive',
            'tga' => 'fas fa-image',
            'tif' => 'fas fa-image',
            'tiff' => 'fas fa-image',
            'ttf' => 'fas fa-font-case',
            'twig' => 'fab fa-php',
            'txt' => 'fas fa-file-alt',
            'vb' => 'fas fa-window',
            'wav' => 'fas fa-music',
            'webm' => 'fas fa-video',
            'wma' => 'fas fa-music',
            'wmv' => 'fas fa-video',
            'woff' => 'fas fa-font-case',
            'xhtml' => 'fas fa-code',
            'xls' => 'fas fa-file-excel',
            'xlsx' => 'fas fa-file-excel',
            'xml' => 'fas fa-code',
            'xz' => 'fas fa-file-archive',
            'yaml' => 'fas fa-file-alt',
            'zip' => 'fas fa-file-archive',
        ];
    }

    protected function get2()
    {
        return '/var/www/html/wp-content/uploads/Courriers';
    }

    protected function get3()
    {
        return '/var/www/html/wp-content/uploads/Courriers/app';
    }

    protected function get4()
    {
        return \DI\Definition\StringDefinition::resolveExpression('assets_path', '{app_path}/assets', $this->delegateContainer);
    }

    protected function get5()
    {
        return \DI\Definition\StringDefinition::resolveExpression('cache_path', '{app_path}/cache', $this->delegateContainer);
    }

    protected function get6()
    {
        return \DI\Definition\StringDefinition::resolveExpression('config_path', '{app_path}/config', $this->delegateContainer);
    }

    protected function get8()
    {
        return $this->delegateContainer->get('base_path');
    }

    protected function get7()
    {
                $value = $_ENV['FILES_PATH'] ?? $_SERVER['FILES_PATH'] ?? getenv('FILES_PATH');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'FILES_PATH' has not been defined");
        }
        return $this->get8();
    }

    protected function get9()
    {
        return \DI\Definition\StringDefinition::resolveExpression('manifest_path', '{assets_path}/manifest.json', $this->delegateContainer);
    }

    protected function get10()
    {
        return \DI\Definition\StringDefinition::resolveExpression('source_path', '{app_path}/src', $this->delegateContainer);
    }

    protected function get11()
    {
        return \DI\Definition\StringDefinition::resolveExpression('translations_path', '{app_path}/translations', $this->delegateContainer);
    }

    protected function get12()
    {
        return \DI\Definition\StringDefinition::resolveExpression('views_path', '{app_path}/views', $this->delegateContainer);
    }

    protected function get13()
    {
        return static fn (string $path, \App\Config $config): string => $config->get('files_path') . '/' . $path;
    }

    protected function get14()
    {
        return [
            0 => 'app',
            1 => 'index.php',
            2 => '.analytics',
            3 => '.env',
            4 => '.env.example',
            5 => '.hidden',
        ];
    }

    protected function get15()
    {
        return [
            0 => 'App\\Middlewares\\WhoopsMiddleware',
            1 => 'App\\Middlewares\\PruneCacheMiddleware',
            2 => 'App\\Middlewares\\CacheControlMiddleware',
            3 => 'App\\Middlewares\\RegisterGlobalsMiddleware',
        ];
    }

    protected function get16()
    {
        return [
            'accessed' => 'App\\SortMethods\\Accessed',
            'changed' => 'App\\SortMethods\\Changed',
            'modified' => 'App\\SortMethods\\Modified',
            'name' => 'App\\SortMethods\\Name',
            'natural' => 'App\\SortMethods\\Natural',
            'type' => 'App\\SortMethods\\Type',
        ];
    }

    protected function get17()
    {
        return [
            0 => 'App\\ViewFunctions\\Analytics',
            1 => 'App\\ViewFunctions\\Breadcrumbs',
            2 => 'App\\ViewFunctions\\Config',
            3 => 'App\\ViewFunctions\\FileUrl',
            4 => 'App\\ViewFunctions\\Icon',
            5 => 'App\\ViewFunctions\\Markdown',
            6 => 'App\\ViewFunctions\\ModifiedTime',
            7 => 'App\\ViewFunctions\\ParentUrl',
            8 => 'App\\ViewFunctions\\SizeForHumans',
            9 => 'App\\ViewFunctions\\Translate',
            10 => 'App\\ViewFunctions\\Url',
            11 => 'App\\ViewFunctions\\Vite',
            12 => 'App\\ViewFunctions\\ZipUrl',
        ];
    }

    protected function get18()
    {
        return $this->resolveFactory([
            0 => 'App\\HiddenFiles',
            1 => 'fromConfig',
        ], 'App\\HiddenFiles');
    }

    protected function get19()
    {
        return $this->resolveFactory('App\\Factories\\FinderFactory', 'Symfony\\Component\\Finder\\Finder');
    }

    protected function get20()
    {
        return $this->resolveFactory('App\\Factories\\CacheFactory', 'Symfony\\Contracts\\Cache\\CacheInterface');
    }

    protected function get21()
    {
        return $this->resolveFactory('App\\Factories\\TranslationFactory', 'Symfony\\Contracts\\Translation\\TranslatorInterface');
    }

    protected function get22()
    {
        return $this->resolveFactory('App\\Factories\\TwigFactory', 'Slim\\Views\\Twig');
    }

    protected function get23()
    {
        $object = new Whoops\Run(NULL);
        return $object;
    }

    protected function get24()
    {
                $value = $_ENV['CACHE_DRIVER'] ?? $_SERVER['CACHE_DRIVER'] ?? getenv('CACHE_DRIVER');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'CACHE_DRIVER' has not been defined");
        }
        return 'file';
    }

    protected function get25()
    {
                $value = $_ENV['CACHE_LIFETIME'] ?? $_SERVER['CACHE_LIFETIME'] ?? getenv('CACHE_LIFETIME');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'CACHE_LIFETIME' has not been defined");
        }
        return 3600;
    }

    protected function get26()
    {
                $value = $_ENV['CACHE_LOTTERY'] ?? $_SERVER['CACHE_LOTTERY'] ?? getenv('CACHE_LOTTERY');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'CACHE_LOTTERY' has not been defined");
        }
        return 2;
    }

    protected function get27()
    {
                $value = $_ENV['VIEW_CACHE'] ?? $_SERVER['VIEW_CACHE'] ?? getenv('VIEW_CACHE');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'VIEW_CACHE' has not been defined");
        }
        return 'app/cache/views';
    }

    protected function get28()
    {
                $value = $_ENV['MEMCACHED_HOST'] ?? $_SERVER['MEMCACHED_HOST'] ?? getenv('MEMCACHED_HOST');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'MEMCACHED_HOST' has not been defined");
        }
        return 'localhost';
    }

    protected function get29()
    {
                $value = $_ENV['MEMCACHED_PORT'] ?? $_SERVER['MEMCACHED_PORT'] ?? getenv('MEMCACHED_PORT');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'MEMCACHED_PORT' has not been defined");
        }
        return 11211;
    }

    protected function get30()
    {
        return static function (\Memcached $memcached, \App\Config $config): void {
        $memcached->addServer(
            $config->get('memcached_host'),
            $config->get('memcached_port')
        );
    };
    }

    protected function get31()
    {
                $value = $_ENV['REDIS_HOST'] ?? $_SERVER['REDIS_HOST'] ?? getenv('REDIS_HOST');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'REDIS_HOST' has not been defined");
        }
        return 'localhost';
    }

    protected function get32()
    {
                $value = $_ENV['REDIS_PORT'] ?? $_SERVER['REDIS_PORT'] ?? getenv('REDIS_PORT');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'REDIS_PORT' has not been defined");
        }
        return 6379;
    }

    protected function get33()
    {
        return static function (\Redis $redis, \App\Config $config): void {
        $redis->pconnect(
            $config->get('redis_host'),
            $config->get('redis_port')
        );
    };
    }

    protected function get34()
    {
        return [
            'application/json' => 300,
            'application/zip' => 300,
        ];
    }

    protected function get35()
    {
                $value = $_ENV['APP_DEBUG'] ?? $_SERVER['APP_DEBUG'] ?? getenv('APP_DEBUG');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'APP_DEBUG' has not been defined");
        }
        return false;
    }

    protected function get36()
    {
                $value = $_ENV['APP_LANGUAGE'] ?? $_SERVER['APP_LANGUAGE'] ?? getenv('APP_LANGUAGE');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'APP_LANGUAGE' has not been defined");
        }
        return 'en';
    }

    protected function get37()
    {
                $value = $_ENV['SITE_TITLE'] ?? $_SERVER['SITE_TITLE'] ?? getenv('SITE_TITLE');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'SITE_TITLE' has not been defined");
        }
        return 'Directory Lister';
    }

    protected function get38()
    {
                $value = $_ENV['META_DESCRIPTION'] ?? $_SERVER['META_DESCRIPTION'] ?? getenv('META_DESCRIPTION');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'META_DESCRIPTION' has not been defined");
        }
        return 'Yet another directory listing, powered by Directory Lister.';
    }

    protected function get39()
    {
                $value = $_ENV['HOME_TEXT'] ?? $_SERVER['HOME_TEXT'] ?? getenv('HOME_TEXT');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'HOME_TEXT' has not been defined");
        }
        return NULL;
    }

    protected function get40()
    {
                $value = $_ENV['DISPLAY_READMES'] ?? $_SERVER['DISPLAY_READMES'] ?? getenv('DISPLAY_READMES');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'DISPLAY_READMES' has not been defined");
        }
        return true;
    }

    protected function get41()
    {
                $value = $_ENV['READMES_FIRST'] ?? $_SERVER['READMES_FIRST'] ?? getenv('READMES_FIRST');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'READMES_FIRST' has not been defined");
        }
        return false;
    }

    protected function get42()
    {
                $value = $_ENV['DIRECT_LINKS'] ?? $_SERVER['DIRECT_LINKS'] ?? getenv('DIRECT_LINKS');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'DIRECT_LINKS' has not been defined");
        }
        return NULL;
    }

    protected function get43()
    {
                $value = $_ENV['ZIP_DOWNLOADS'] ?? $_SERVER['ZIP_DOWNLOADS'] ?? getenv('ZIP_DOWNLOADS');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'ZIP_DOWNLOADS' has not been defined");
        }
        return true;
    }

    protected function get44()
    {
                $value = $_ENV['ZIP_COMPRESS'] ?? $_SERVER['ZIP_COMPRESS'] ?? getenv('ZIP_COMPRESS');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'ZIP_COMPRESS' has not been defined");
        }
        return false;
    }

    protected function get45()
    {
                $value = $_ENV['SORT_ORDER'] ?? $_SERVER['SORT_ORDER'] ?? getenv('SORT_ORDER');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'SORT_ORDER' has not been defined");
        }
        return 'type';
    }

    protected function get46()
    {
                $value = $_ENV['REVERSE_SORT'] ?? $_SERVER['REVERSE_SORT'] ?? getenv('REVERSE_SORT');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'REVERSE_SORT' has not been defined");
        }
        return false;
    }

    protected function get47()
    {
                $value = $_ENV['ANALYTICS_FILE'] ?? $_SERVER['ANALYTICS_FILE'] ?? getenv('ANALYTICS_FILE');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'ANALYTICS_FILE' has not been defined");
        }
        return '.analytics';
    }

    protected function get48()
    {
                $value = $_ENV['HIDDEN_FILES_LIST'] ?? $_SERVER['HIDDEN_FILES_LIST'] ?? getenv('HIDDEN_FILES_LIST');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'HIDDEN_FILES_LIST' has not been defined");
        }
        return '.hidden';
    }

    protected function get49()
    {
        return [
        ];
    }

    protected function get50()
    {
                $value = $_ENV['HIDE_APP_FILES'] ?? $_SERVER['HIDE_APP_FILES'] ?? getenv('HIDE_APP_FILES');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'HIDE_APP_FILES' has not been defined");
        }
        return true;
    }

    protected function get51()
    {
                $value = $_ENV['HIDE_DOT_FILES'] ?? $_SERVER['HIDE_DOT_FILES'] ?? getenv('HIDE_DOT_FILES');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'HIDE_DOT_FILES' has not been defined");
        }
        return true;
    }

    protected function get52()
    {
                $value = $_ENV['HIDE_VSC_FILES'] ?? $_SERVER['HIDE_VSC_FILES'] ?? getenv('HIDE_VSC_FILES');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'HIDE_VSC_FILES' has not been defined");
        }
        return true;
    }

    protected function get53()
    {
                $value = $_ENV['DATE_FORMAT'] ?? $_SERVER['DATE_FORMAT'] ?? getenv('DATE_FORMAT');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'DATE_FORMAT' has not been defined");
        }
        return 'Y-m-d H:i:s';
    }

    protected function get54()
    {
                $value = $_ENV['TIMEZONE'] ?? $_SERVER['TIMEZONE'] ?? getenv('TIMEZONE');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'TIMEZONE' has not been defined");
        }
        return 'UTC';
    }

    protected function get55()
    {
                $value = $_ENV['MAX_HASH_SIZE'] ?? $_SERVER['MAX_HASH_SIZE'] ?? getenv('MAX_HASH_SIZE');
        if (false !== $value) return $value;
        if (!true) {
            throw new \DI\Definition\Exception\InvalidDefinition("The environment variable 'MAX_HASH_SIZE' has not been defined");
        }
        return 1000000000;
    }

}
