"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toCollectionKey = toCollectionKey;
/**
 * @private
 * Converts a search category key to its corresponding wellknown collection key
 *
 * @param legacySearchCategory search category key to transform
 * @returns the wellknown collection key
 */
function toCollectionKey(legacySearchCategory) {
    return legacySearchCategory === "App,Map"
        ? "appAndMap"
        : legacySearchCategory.toLowerCase();
}
//# sourceMappingURL=toCollectionKey.js.map