+import { logger } from '@server/helpers/logger'
+import { optionalAuthenticate } from '@server/middlewares/auth'
+import { getCompleteLocale, is18nLocale } from '../../shared/core-utils/i18n'
+import { HttpStatusCode } from '../../shared/models/http/http-error-codes'
+import { PluginType } from '../../shared/models/plugins/plugin.type'
+import { isProdInstance } from '../helpers/core-utils'
+import { PLUGIN_GLOBAL_CSS_PATH } from '../initializers/constants'