import{ServerRoutes as r,USER_THEME_ALIAS as c}from"../../constants/common.js";import{readEnvVariable as E}from"../utils/envs/read-env-variable.js";const S="runtime",O="/assets",D="/_spec",N="/_bundle",C="static",U="redocly:::linkOriginal",x="@",P="default",M=new RegExp("((?!@i18n\\/|@l10n\\/)\\/?@.*?(?=\\/))","g"),l="@redocly/theme/plugin.js",a="styles.css",i=["@theme/plugin.js","@theme/plugin.cjs","@theme/plugin.mjs"],m=process.env.JWT_SECRET_KEY||"test_secret_key",p="@i18n",T="@l10n",v=[c,p,T],F="https://redocly.com/auth/aud",H="catalog.json",G="scorecard.json",Y="page-count.json",d="sitemap.xml",u="llms.txt",o=process.env.PROJECT_ID,e=process.env.PROJECT_SLUG,t=process.env.ORGANIZATION_ID,s=process.env.ORG_SLUG,_=process.env.BH_API_URL&&s&&e?`${process.env.BH_API_URL}/orgs/${s}/projects/${e}`:void 0,R=process.env.BH_API_URL&&t&&o?`${process.env.BH_API_URL}/orgs/${t}/projects/${o}`:void 0,I=process.env.BH_API_URL?`${process.env.BH_API_URL}/entitlements/.well-known/jwks`:"https://app.cloud.redocly.com/api/entitlements/.well-known/jwks",B=process.env.ENTITLEMENTS_JWKS_CDN_URL||I,K=_?`${_}/feedback`:"",g=R?`${R}/ai-conversations`:"",j=_&&`${_}/registry/apis`,J=_&&`${_}/registry/paths`,h="no-store",W=365*24*60*60,$=process.env.AUTH_URL,y="Developer Documentation",n=process.env.REDOCLY_SSR_RENDER_MODE==="worker"?"worker":"main",V=n==="main"?0:process.env.REDOCLY_SSR_WORKERS_MIN?parseInt(process.env.REDOCLY_SSR_WORKERS_MIN):2,k=n==="main"?1:process.env.REDOCLY_SSR_WORKERS_MAX?parseInt(process.env.REDOCLY_SSR_WORKERS_MAX):5,w="-----BEGIN CERTIFICATE-----",f="-----END CERTIFICATE-----",X=E("REDOCLY_TELEMETRY_ENDPOINT")||"https://app.cloud.redocly.com/api/telemetry/project",b=E("REDOCLY_LOCAL_DEV")!=="true"&&E("REDOCLY_TELEMETRY")!=="off"||E("REDOCLY_TELEMETRY")==="on",Z="http://localhost:4318/v1/traces",q=[r.HEALTH];export{F as ALTERNATIVE_AUD_CLAIM_NAME,g as ASK_AI_API_URL,$ as AUTH_URL,w as BEGIN_CERTIFICATE_DELIMITER,_ as BH_API_PROJECTS_URL,R as BH_API_PROJECTS_URL_V2,h as CACHE_CONTROL_NO_CACHE_HEADER_VALUE,H as CATALOG_OUTPUT_FILE_NAME,W as DEFAULT_IMMUTABLE_CACHE_MAX_AGE,i as DEFAULT_PROJECT_PLUGIN_PATHS,l as DEFAULT_THEME_PLUGIN_PATH,y as DEFAULT_TITLE,P as DEFAULT_VERSION_NAME,D as DEPRECATED_PUBLIC_API_DEFINITIONS_FOLDER,f as END_CERTIFICATE_DELIMITER,B as ENTITLEMENTS_JWKS_URL,K as FEEDBACK_API_URL,p as I18N_DIR_NAME,m as JWT_SECRET_KEY,T as L10N_DIR_NAME,U as LINK_ORIGINAL_ATTR_NAME,u as LLMS_TXT_FILE_NAME,t as ORG_ID,s as ORG_SLUG,q as OTEL_EXCLUDED_ROUTES,Z as OTEL_TRACES_DEV_URL,Y as PAGE_COUNT_OUTPUT_FILE_NAME,o as PROJECT_ID,e as PROJECT_SLUG,N as PUBLIC_API_DEFINITIONS_FOLDER,O as PUBLIC_ASSETS_FOLDER,C as PUBLIC_STATIC_FOLDER,j as REGISTRY_APIS_API_URL,J as REGISTRY_APIS_PATHS_API_URL,v as RESERVED_DIR_NAMES,S as RUNTIME_RESOURCES_DIR,G as SCORECARD_OUTPUT_FILE_NAME,d as SITEMAP_FILE_NAME,n as SSR_RENDER_MODE,k as SSR_WORKERS_MAX,V as SSR_WORKERS_MIN,a as STYLES_FILE,b as TELEMETRY_ENABLED,X as TELEMETRY_ENDPOINT,M as VERSIONED_FOLDER_REGEXP_MATCH,x as VERSION_SEPARATOR};
