"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const parseUrl = (url) => {
  if (url.length < 4 || url.includes(" ")) {
    return void 0;
  }
  try {
    return new URL(url);
  } catch {
    return void 0;
  }
};
exports.parseUrl = parseUrl;
//# sourceMappingURL=parseUrl.cjs.map
