{"version":3,"file":"defaultScopes.js","sources":["../../src/defaultScopes.ts"],"sourcesContent":["import type { Scope } from '@sentry/types';\nimport { getGlobalSingleton } from '@sentry/utils';\nimport { Scope as ScopeClass } from './scope';\n\n/** Get the default current scope. */\nexport function getDefaultCurrentScope(): Scope {\n return getGlobalSingleton('defaultCurrentScope', () => new ScopeClass());\n}\n\n/** Get the default isolation scope. */\nexport function getDefaultIsolationScope(): Scope {\n return getGlobalSingleton('defaultIsolationScope', () => new ScopeClass());\n}\n"],"names":["ScopeClass"],"mappings":";;;AAIA;AACO,SAAS,sBAAsB,GAAU;AAChD,EAAE,OAAO,kBAAkB,CAAC,qBAAqB,EAAE,MAAM,IAAIA,KAAU,EAAE,CAAC;AAC1E;;AAEA;AACO,SAAS,wBAAwB,GAAU;AAClD,EAAE,OAAO,kBAAkB,CAAC,uBAAuB,EAAE,MAAM,IAAIA,KAAU,EAAE,CAAC;AAC5E;;;;"}