import{threadId as s,workerData as o}from"node:worker_threads";import{registerNativeModuleResolutionHooks as d}from"./dev-fp014L8f.mjs";import{s as f}from"./sentry-buffer-BNqrS-8_.mjs";import"./register-proxy-C4V2Z2tW.mjs";import{L as l}from"./util-4MLVQf5_.mjs";import g from"./inject-globals-v3dPEknE.mjs";import{registerSystemStatsReporting as b}from"./system-stats-DIGFNPck.mjs";(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:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fbd3e0eb-044d-4878-a679-f830d8cde5da",e._sentryDebugIdIdentifier="sentry-dbid-fbd3e0eb-044d-4878-a679-f830d8cde5da")})()}catch{}const c=e=>{process.env.ENTRY_POINT=`${e}-${s}`};async function D(e,t){const i=o.machineID,r=o.noSentry;d(),globalThis.USE_SENTRY_NODE=!0,globalThis.LOG_LEVEL=l,globalThis.MACHINE_ID=i,c(e),(await import("./init-logger-node-BU0C0Xoy.mjs")).default(),logger.log(`Howdy from ${e}!`),r||f();const{default:n}=await import("./sentry-common-ai21LIAw.mjs").then(a=>a.i);n&&await import("./dev-fp014L8f.mjs"),t.injectGlobals&&g(t.injectGlobals.userDataDirPath,t.injectGlobals.overriddenGlobalMethods),t.registerSystemStatsReporting&&b()}export{D as s};
//# sourceMappingURL=setup-jOmJhQLK.mjs.map
