{"version":3,"file":"supportsPassive.mjs","sources":["../../../../../packages/utils/event/supportsPassive.ts"],"sourcesContent":["// Test via a getter in the options object to see if the passive property is accessed\n// eslint-disable-next-line import/no-mutable-exports\nlet supportsPassive = false;\ntry {\n  const opts = Object.defineProperty({}, 'passive', {\n    get() {\n      supportsPassive = true;\n    },\n  });\n  window.addEventListener('testPassive', null, opts);\n  window.removeEventListener('testPassive', null, opts);\n} catch (e) {}\n\nexport { supportsPassive };\n"],"names":[],"mappings":"AAEA,IAAI,eAAkB,GAAA,MAAA;AACtB,IAAI;AACF,EAAA,MAAM,IAAO,GAAA,MAAA,CAAO,cAAe,CAAA,IAAI,SAAW,EAAA;AAAA,IAChD,GAAM,GAAA;AACJ,MAAkB,eAAA,GAAA,IAAA,CAAA;AAAA,KACpB;AAAA,GACD,CAAA,CAAA;AACD,EAAO,MAAA,CAAA,gBAAA,CAAiB,aAAe,EAAA,IAAA,EAAM,IAAI,CAAA,CAAA;AACjD,EAAO,MAAA,CAAA,mBAAA,CAAoB,aAAe,EAAA,IAAA,EAAM,IAAI,CAAA,CAAA;AACtD,CAAA,CAAA,OAAS,CAAG,EAAA;AAAC;;;;"}