"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getContentHomeUrl = getContentHomeUrl;
const get_portal_url_1 = require("./get-portal-url");
/**
 * Computes a URL to the "Content" tab in the AGO Home app for a given portal URL string, IPortal, IHubRequestOptions or IRequestOptions object
 * @param portalUrlOrObject a portal URL string, IPortal, IHubRequestOptions or IRequestOptions object
 * @returns a URL string for the AGO Home for the given portalUrlOrObject parameter
 */
function getContentHomeUrl(portalUrlOrObject) {
    const portalUrl = (0, get_portal_url_1.getPortalUrl)(portalUrlOrObject);
    return `${portalUrl}/home/content.html`;
}
//# sourceMappingURL=getContentHomeUrl.js.map