try{let 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]=`a86be48c-ad15-4aa3-926d-5879863bd506`,e._sentryDebugIdIdentifier=`sentry-dbid-a86be48c-ad15-4aa3-926d-5879863bd506`)}catch{}import"./rolldown-runtime-nx40z1zs.js";import"./entry.client-mpghtlrl.js";var e=class{onSpanStart(e){}onSpanEnd(e){if(e.kind!==`performance`||e.status===`cancelled`||typeof performance>`u`||!performance.measure)return;let t=e.endTime??performance.now();performance.measure(e.name,{start:e.startTime,end:t,detail:{status:e.status,location:e.location,attributes:e.attributes,globalAttributes:e.globalAttributes,spanId:e.id,parentSpanId:e.parentSpanId,rootSpanId:e.rootSpanId,missingParent:e.missingParent}})}};export{e as BrowserPerfAdapter};