{"version":3,"file":"runtime.cjs","sources":["../../src/runtime.ts"],"sourcesContent":["export const Version = __PACKAGE_VERSION__;\n\ndeclare global {\n  const __PACKAGE_VERSION__: string;\n  var WorkerGlobalScope: any;\n  var EdgeRuntime: any;\n}\n\nexport const isWebWorker =\n  typeof self !== 'undefined' &&\n  typeof globalThis.WorkerGlobalScope !== 'undefined' &&\n  self instanceof WorkerGlobalScope;\n\nexport const isBrowser = typeof window !== 'undefined' || isWebWorker;\nexport const isEdgeRuntime = globalThis.EdgeRuntime ? true : false;\n"],"names":[],"mappings":";;AAAO,MAAM,UAAU;AAQhB,MAAM,cACX,OAAO,SAAS,eAChB,OAAO,WAAW,sBAAsB,eACxC,gBAAgB;AAEX,MAAM,YAAY,OAAO,WAAW,eAAe;AACnD,MAAM,gBAAgB,WAAW,cAAc,OAAO;;;;;"}