"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HEAP_BASE_URLS = exports.HeapRegion = exports.HEAP_SEGMENT_CLOUD_LIBRARY_NAME = void 0;
exports.getHeapBaseUrl = getHeapBaseUrl;
exports.HEAP_SEGMENT_CLOUD_LIBRARY_NAME = 'cloud-mode-destination';
var HeapRegion;
(function (HeapRegion) {
    HeapRegion["US"] = "US";
    HeapRegion["EU"] = "EU";
})(HeapRegion || (exports.HeapRegion = HeapRegion = {}));
exports.HEAP_BASE_URLS = {
    [HeapRegion.US]: 'https://heapanalytics.com',
    [HeapRegion.EU]: 'https://c.eu.heap-api.com'
};
function getHeapBaseUrl(region) {
    if (region === HeapRegion.EU) {
        return exports.HEAP_BASE_URLS[HeapRegion.EU];
    }
    return exports.HEAP_BASE_URLS[HeapRegion.US];
}
//# sourceMappingURL=constants.js.map