persona-community-5/.pnpm-store/v3/files/2b/a66431d0eaa715d4402203075d11ee09bde8c787d024be785937a54d781b04d7091670adc4b786f7603633534abe84c552abef980685b18f4859df921c2178
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

23 lines
671 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.nonPassive = void 0;
var passiveSupported = false;
if (typeof window !== 'undefined') {
try {
var options = Object.defineProperty({}, 'passive', {
get: function () {
passiveSupported = true;
return true;
},
});
// @ts-ignore
window.addEventListener('test', options, options);
// @ts-ignore
window.removeEventListener('test', options, options);
}
catch (err) {
passiveSupported = false;
}
}
exports.nonPassive = passiveSupported ? { passive: false } : false;