import{AuthProviderType as e}from"@redocly/config";import{withPathPrefix as o}from"@redocly/theme/core/utils";const O="openapi_docs",i="asyncapi_docs",T="graphql_docs",L="/_spec-gql",R="markdoc",I="tags",s="*",C={[s]:"read"},l=["openid","email"],S=1440*60,d="anonymous",P="authenticated",N="**",u="Reunite",D="translations.yaml",h="redocly.yaml",m="@redocly/theme",x="@theme",U="/app-data.json",g="/eject-component",_=process.env.SERVER_EDITOR_APP_URL||"http://127.0.0.1:3000",M=process.env.REDOCLY_CORS_ORIGINS?process.env.REDOCLY_CORS_ORIGINS.split(",").map(t=>t.trim()).filter(Boolean).concat(_):[_];var r;(function(t){t.BUILD="build",t.DEVELOP="develop",t.PREPARE="prepare"})(r||(r={}));var a;(function(t){t.RATING="rating",t.SENTIMENT="sentiment",t.COMMENT="comment",t.MOOD="mood",t.PROBLEM="problem",t.SCALE="scale"})(a||(a={}));const c={INFO:"/_info",EJECT_COMPONENT:"/eject-component/:componentName",SHARED_PAGE_DATA:"/page-data/shared/*",PAGE_DATA:"/page-data/*",APP_DATA:"/app-data.json",AUTHORIZATION:"/authorize",OIDC_CALLBACK:"/_auth/oidc",SAML_CALLBACK:"/_auth/saml2",REDOCLY_CALLBACK:"/_auth/redocly",REPLAY_OAUTH2_CALLBACK:"/_auth/replay-oauth2",REDOCLY_LOGIN_CALLBACK:"/_auth/redocly/redocly-login",REDOCLY_TOKEN_LOGIN:"/_auth/redocly-token-login",SEARCH:"/_search",SEARCH_FACETS:"/_search-facets",LOGOUT:"/logout",LOGIN:"/login",IDP_LOGIN:"/_auth/idp-login",INVITE:"/invite/:code",RESOLVE_ROUTE_BY_PATH:"/resolve-route-by-path",RESOLVE_ROUTES_BY_PATHS:"/resolve-routes-by-paths",RESOLVE_ROUTE_BY_SLUG:"/resolve-route-by-slug",GET_ROUTES_BY_LINE:"/get-routes-by-line",FEEDBACK:"/feedback",TELEMETRY:"/_events",OTEL_TRACES:"/_otel/v1/traces",HEALTH:"/_health",ASK_AI:"/_ask-ai",CATALOG_ENTITIES:"/catalog-entities/:entityKey?",CATALOG_ENTITIES_RELATIONS:"/catalog-entities-relations/:entityRelationId?",BFF_CATALOG_ENTITIES:"/bff/catalog-entities/:entityKey?",BFF_CATALOG_RELATED_ENTITIES:"/bff/catalog-related-entities/:entityKey",MCP_OAUTH_AUTHORIZATION_SERVER:"/.well-known/oauth-authorization-server",MCP_OAUTH_PROTECTED_RESOURCE:"/.well-known/oauth-protected-resource/mcp",MCP_DYNAMIC_CLIENT_REGISTRATION:"/_mcp/register",MCP_AUTHORIZATION:"/_mcp/oauth2/auth",MCP_TOKEN_PORTAL:"/_mcp/oauth2/token-portal",MCP_CALLBACK:"/_mcp/oauth/callback"},y={[e.SAML2]:o(c.IDP_LOGIN),[e.OIDC]:o(c.IDP_LOGIN)};var E;(function(t){t.AI_SEARCH="aiSearch"})(E||(E={}));const G="/login",v="/invite",H={AUTH0_PASS:"/auth/auth0-pass"},F={NotExist:"ENOENT"},b="default_locale",B="sidebar-",k="PUBLIC_",f=["BROKEN_LINK","MARKDOC","RESOLVE"],K=["logo","navbar","products","footer","sidebar","scripts","links","feedback","search","aiAssistant","colorMode","navigation","codeSnippet","markdown","openapi","graphql","analytics","userMenu","versionPicker","breadcrumbs","catalog","entitiesCatalog","scorecard","mcp"],n="redocly_category",V="redocly_product",Y="redocly_version",w="redocly_teams",j=n,q={asyncapi:"asyncapi",apiFunctions:"apiFunctions",reactPages:"reactPages",catalog:"catalog",catalogClassic:"catalogClassic",lint:"lint",scorecard:"scorecard",l10n:"l10n",openapi:"openapi",graphql:"graphql",markdown:"markdown",devOnboarding:"devOnboarding",seo:"seo",redirects:"redirects",customPlugins:"customPlugins",themeEjecting:"themeEjecting",products:"products",breadcrumbs:"breadcrumbs",mockServer:"mockServer",sso:"sso",rbac:"rbac",analytics:"analytics",removeAttribution:"removeAttribution",advancedSearch:"advancedSearch",soap:"soap",ssoDirect:"ssoDirect",codeWalkthrough:"codeWalkthrough",aiSearchLimit:"aiSearchLimit",mcp:"mcp"};export{M as ALLOWED_CORS_ORIGINS,i as ASYNC_API_DOCS_TEMPLATE_ID,h as CONFIG_FILE_NAME,R as CUSTOM_MARKDOC_OPTIONS_PATH,I as CUSTOM_MARKDOC_TAGS_PATH,d as DEFAULT_ANONYMOUS_VISITOR_TEAM,P as DEFAULT_AUTHENTICATED_TEAM,S as DEFAULT_COOKIE_EXPIRATION,b as DEFAULT_LOCALE_PLACEHOLDER,y as DEFAULT_PROVIDERS_LOGIN_URLS,N as DEFAULT_RBAC_SCOPE,u as DEFAULT_SSO_IDP_TITLE,m as DEFAULT_THEME_NAME,G as DEV_LOGIN_SLUG,g as EJECT_COMPONENT_URL,H as ExternalRoutes,q as FEATURE,a as FEEDBACK_TYPES,F as FsErrors,U as GLOBAL_DATA_URL,L as GRAPHQL_SPEC_SLUG,T as GRAPHQL_TEMPLATE_ID,v as INVITE_SLUG,f as MARKDOC_ERROR_TYPES,O as OPENAPI_DOCS_TEMPLATE_ID,k as PUBLIC_ENV_PREFIX,C as PUBLIC_RBAC_SCOPE_ITEM,s as RBAC_ALL_OTHER_TEAMS,l as REQUIRED_OIDC_SCOPES,E as RbacFeatures,n as SEARCH_CATEGORY_FIELD,j as SEARCH_GROUP_FACET_FIELD,V as SEARCH_PRODUCT_FIELD,w as SEARCH_RBAC_FIELD,Y as SEARCH_VERSION_FIELD,_ as SERVER_EDITOR_APP_URL,B as SIDEBAR_PREFIX,c as ServerRoutes,D as TRANSLATIONS_FILE_NAME,K as UI_ACCESSIBLE_CONFIG_PROPS,x as USER_THEME_ALIAS,r as cliCommandNames};
