Liferay.Loader.define("frontend-js-components-web$dom-helpers@5.2.0/esm/matches", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    var matchesImpl;
    export default function matches(node, selector) {
      if (!matchesImpl) {
        var body = document.body;
        var nativeMatch = body.matches || body.matchesSelector || body.webkitMatchesSelector || body.mozMatchesSelector || body.msMatchesSelector;

        matchesImpl = function matchesImpl(n, s) {
          return nativeMatch.call(n, s);
        };
      }

      return matchesImpl(node, selector);
    }
  }
});
//# sourceMappingURL=matches.js.map