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]=`56a7e046-5540-419a-ac53-56cdcfd3d792`,e._sentryDebugIdIdentifier=`sentry-dbid-56a7e046-5540-419a-ac53-56cdcfd3d792`)}catch{}import"./rolldown-runtime-eb2nym32.js";import"./entry.client-dr7r6s9a.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};