import{AuthProviderType as o}from"@redocly/config";import{ServerRoutes as e}from"../../constants/index.js";import{withPathPrefix as t}from"@redocly/theme/core/utils";import{USER_THEME_ALIAS as p}from"../config/constants.js";const U="runtime",x="/assets",D="/_spec",C="static",P="redocly:::linkOriginal",M="@",i="default",a=new RegExp("((?!@i18n\\/|@l10n\\/)\\/?@.*?(?=\\/))","g"),v=process.env.JWT_SECRET_KEY||"test_secret_key",c="@i18n",A="@l10n",l=[p,c,A],m="https://redocly.com/auth/aud",G={[o.SAML2]:t(e.IDP_LOGIN),[o.OIDC]:t(e.IDP_LOGIN)},F="catalog.json",H="scorecard.json",B="page-count.json",K="sitemap.xml",d="llms.txt",E=process.env.PROJECT_ID,s=process.env.PROJECT_SLUG,R=process.env.ORGANIZATION_ID,r=process.env.ORG_SLUG,_=process.env.BH_API_URL&&r&&s?`${process.env.BH_API_URL}/orgs/${r}/projects/${s}`:void 0,n=process.env.BH_API_URL&&R&&E?`${process.env.BH_API_URL}/orgs/${R}/projects/${E}`:void 0,T=process.env.BH_API_URL?`${process.env.BH_API_URL}/entitlements/.well-known/jwks`:"https://app.cloud.redocly.com/api/entitlements/.well-known/jwks",u=process.env.ENTITLEMENTS_JWKS_CDN_URL||T,J=_?`${_}/feedback`:"",W=n?`${n}/ai-conversations`:"",$=_&&`${_}/registry/apis`,w=_&&`${_}/registry/paths`,f="no-store",g=365*24*60*60,k=process.env.AUTH_URL,Y="Developer Documentation",I=process.env.REDOCLY_SSR_RENDER_MODE==="worker"?"worker":"main",V=I==="main"?0:process.env.REDOCLY_SSR_WORKERS_MIN?parseInt(process.env.REDOCLY_SSR_WORKERS_MIN):2,h=I==="main"?1:process.env.REDOCLY_SSR_WORKERS_MAX?parseInt(process.env.REDOCLY_SSR_WORKERS_MAX):5,j="-----BEGIN CERTIFICATE-----",y="-----END CERTIFICATE-----";export{m as ALTERNATIVE_AUD_CLAIM_NAME,W as ASK_AI_API_URL,k as AUTH_URL,j as BEGIN_CERTIFICATE_DELIMITER,_ as BH_API_PROJECTS_URL,n as BH_API_PROJECTS_URL_V2,f as CACHE_CONTROL_NO_CACHE_HEADER_VALUE,F as CATALOG_OUTPUT_FILE_NAME,g as DEFAULT_IMMUTABLE_CACHE_MAX_AGE,G as DEFAULT_PROVIDERS_LOGIN_URLS,Y as DEFAULT_TITLE,i as DEFAULT_VERSION_NAME,y as END_CERTIFICATE_DELIMITER,u as ENTITLEMENTS_JWKS_URL,J as FEEDBACK_API_URL,c as I18N_DIR_NAME,v as JWT_SECRET_KEY,A as L10N_DIR_NAME,P as LINK_ORIGINAL_ATTR_NAME,d as LLMS_TXT_FILE_NAME,R as ORG_ID,r as ORG_SLUG,B as PAGE_COUNT_OUTPUT_FILE_NAME,E as PROJECT_ID,s as PROJECT_SLUG,D as PUBLIC_API_DEFINITIONS_FOLDER,x as PUBLIC_ASSETS_FOLDER,C as PUBLIC_STATIC_FOLDER,$ as REGISTRY_APIS_API_URL,w as REGISTRY_APIS_PATHS_API_URL,l as RESERVED_DIR_NAMES,U as RUNTIME_RESOURCES_DIR,H as SCORECARD_OUTPUT_FILE_NAME,K as SITEMAP_FILE_NAME,I as SSR_RENDER_MODE,h as SSR_WORKERS_MAX,V as SSR_WORKERS_MIN,a as VERSIONED_FOLDER_REGEXP_MATCH,M as VERSION_SEPARATOR};
