"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.resolveHref = resolveHref;
function resolveHref(baseUrl, href) {
const normalizedBaseUrl = baseUrl.endsWith('/') ? baseUrl : `${baseUrl}/`;
return new URL(href, normalizedBaseUrl).href;
}