maycur-business
Version:
maycur business react components of web
18 lines (13 loc) • 620 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.matches = void 0;
function defaultMatchSelector(s) {
var matches = (this.document || this.ownerDocument).querySelectorAll(s),
i = matches.length;
while (--i >= 0 && matches.item(i) !== this) {}
return i > -1;
}
var matches = typeof window === 'undefined' ? defaultMatchSelector : Element.prototype.matches || Element.prototype.matchesSelector || Element.prototype.webkitMatchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector || defaultMatchSelector;
exports.matches = matches;