import t from"path";import r from"os";import{fileURLToPath as c}from"url";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"4.2.860"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="af4edbd9-aff8-4f8a-aed2-49f5ddf907f5",e._sentryDebugIdIdentifier="sentry-dbid-af4edbd9-aff8-4f8a-aed2-49f5ddf907f5")})()}catch{}const f=process.env.BEEPER_SERVER_EDITION==="1",_=process.platform==="win32",i=process.platform==="linux",o=process.platform==="darwin",a="config.json",I=".texts-conf.json";function E(){if(process.env.BEEPER_USER_DATA_DIR)return process.env.BEEPER_USER_DATA_DIR;const e=process.env.BEEPER_PROFILE||void 0,n="BeeperTexts"+(e?`-${e}`:"");return o?t.join(r.homedir(),"Library","Application Support",n):_?process.env.APPDATA?t.join(process.env.APPDATA,n):t.join(r.homedir(),n):t.join(process.env.XDG_CONFIG_HOME??t.join(r.homedir(),".config"),n)}function R(){const e=E();return _&&!process.env.APPDATA?t.join(E(),"..",I):t.join(e,a)}const D=globalThis.INITIAL_STATE?.userConfPath??R(),s=+r.release().split(".")[0],U=o&&s>=19,L=o&&s>=20,m=o&&s>=21,b=o&&s>=22,C=o&&s>=24,h=o&&s>=25,d=140;function p(){const e=` AppleWebKit/537.36 (KHTML, like Gecko) Chrome/${d}.0.0.0 Safari/537.36`;if(o)return"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)"+e;if(_)return"Mozilla/5.0 (Windows NT 10.0; Win64; x64)"+e;if(i)return"Mozilla/5.0 (X11; Linux x86_64)"+e}const A=p(),O="Beeper/3.110.1",g=A?.replace(/ Chrome\/\d+\.\d+\.\d+\.\d+/,` ${O}$&`);function l(){return o?" (macOS)":_?" (Windows)":i?" (Linux)":""}const w=`${f?"Beeper Server":"Beeper Desktop"}${l()}`.trim(),B="beeper://",S="https://www.beeper.com",M=`${S}/privacy`,G="com.automattic.beeper.desktop",y="BEEPER-PRIVATE-API-PLEASE-DONT-USE",v="https://www.beeper.com/changelog/desktop",u=c(new URL("..",import.meta.url)),H=u,j=!1,x="beeper_8a5da52ed126447d359e70c05721a8aa",F=100,V="!transcriptions:beeper.local",W="@room",$=330,k=620,K=[0,30,90,120];export{K as AGE_DAYS,x as BEEPER_API_ACCOUNT_ID,v as BEEPER_CHANGELOG_LINK,S as BEEPER_DOMAIN,y as BEEPER_GUEST_TOKEN,u as BUILD_DIR_PATH,G as BUNDLE_ID,B as DEEP_LINK_PROTOCOL,w as DEFAULT_DEVICE_NAME,g as GOOGLE_SAFE_USER_AGENT,L as IS_BIG_SUR_OR_UP,U as IS_CATALINA_OR_UP,i as IS_LINUX,o as IS_MAC_OS,m as IS_MONTEREY_OR_UP,C as IS_SEQUOIA_OR_UP,f as IS_SERVER_EDITION,h as IS_TAHOE_OR_UP,b as IS_VENTURA_OR_UP,_ as IS_WINDOWS,F as LARGE_GROUP_THRESHOLD,k as ONBOARDING_SCREEN_HEIGHT,$ as ONBOARDING_SCREEN_WIDTH,M as PRIVACY_URL,H as PUBLIC_DIR_PATH,W as ROOM_MENTION,V as TRANSCRIPTIONS_ROOM_ID,A as USER_AGENT,D as USER_CONF_PATH,j as rejectUnauthorizedCerts,R as resolveUserConfPath,E as resolveUserDataDir};
//# sourceMappingURL=constants-DED7MIJj.mjs.map
