"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module QuantityFormatting
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDefaultAlternateUnitLabels = getDefaultAlternateUnitLabels;
const UnitsData_1 = require("./UnitsData");
/** Function to generate default set of alternate unit labels
 *  @internal
 */
function getDefaultAlternateUnitLabels() {
    const altDisplayLabelsMap = new Map();
    for (const entry of UnitsData_1.UNIT_EXTRA_DATA) {
        if (entry.altDisplayLabels && entry.altDisplayLabels.length > 0) {
            altDisplayLabelsMap.set(entry.name, new Set(entry.altDisplayLabels));
        }
    }
    if (altDisplayLabelsMap.size)
        return altDisplayLabelsMap;
    return undefined;
}
//# sourceMappingURL=AlternateUnitLabels.js.map