import{ServerRoutes as e}from"../../../constants/index.js";import{TelemetryClient as r}from"../../../shared/telemetry-client";import{isBrowser as t}from"../../../shared/jsUtils";const o=process.env.REDOCLY_LOCAL_DEV==="true"||process.env.REDOCLY_TELEMETRY==="off",s=new r(e.TELEMETRY,o);t()&&s.updateContext({version:process.env.REDOCLY_PORTAL_VERSION,userAgent:navigator.userAgent});export{s as telemetry};
