"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CustomRRwebEvent = exports.MAX_URL_LENGTH = exports.KB_SIZE = exports.MAX_IDB_STORAGE_LENGTH = exports.MAX_INTERVAL = exports.MIN_INTERVAL = exports.INTERACTION_MAX_INTERVAL = exports.INTERACTION_MIN_INTERVAL = exports.MAX_EVENT_LIST_SIZE_IN_BYTES = exports.STORAGE_PREFIX = exports.SESSION_REPLAY_STAGING_URL = exports.SESSION_REPLAY_EU_URL = exports.SESSION_REPLAY_SERVER_URL = exports.UNMASK_TEXT_CLASS = exports.MASK_TEXT_CLASS = exports.BLOCK_CLASS = exports.SESSION_REPLAY_DEBUG_PROPERTY = exports.DEFAULT_SERVER_ZONE = exports.DEFAULT_SAMPLE_RATE = exports.DEFAULT_SESSION_END_EVENT = exports.DEFAULT_SESSION_START_EVENT = exports.DEFAULT_SESSION_REPLAY_PROPERTY = exports.DEFAULT_EVENT_PROPERTY_PREFIX = void 0;
var analytics_core_1 = require("@amplitude/analytics-core");
var analytics_types_1 = require("@amplitude/analytics-types");
exports.DEFAULT_EVENT_PROPERTY_PREFIX = '[Amplitude]';
exports.DEFAULT_SESSION_REPLAY_PROPERTY = "".concat(exports.DEFAULT_EVENT_PROPERTY_PREFIX, " Session Replay ID");
exports.DEFAULT_SESSION_START_EVENT = 'session_start';
exports.DEFAULT_SESSION_END_EVENT = 'session_end';
exports.DEFAULT_SAMPLE_RATE = 0;
exports.DEFAULT_SERVER_ZONE = analytics_types_1.ServerZone.US;
exports.SESSION_REPLAY_DEBUG_PROPERTY = "".concat(exports.DEFAULT_EVENT_PROPERTY_PREFIX, " Session Replay Debug");
exports.BLOCK_CLASS = 'amp-block';
exports.MASK_TEXT_CLASS = 'amp-mask';
exports.UNMASK_TEXT_CLASS = 'amp-unmask';
exports.SESSION_REPLAY_SERVER_URL = 'https://api-sr.amplitude.com/sessions/v2/track';
exports.SESSION_REPLAY_EU_URL = 'https://api-sr.eu.amplitude.com/sessions/v2/track';
exports.SESSION_REPLAY_STAGING_URL = 'https://api-sr.stag2.amplitude.com/sessions/v2/track';
exports.STORAGE_PREFIX = "".concat(analytics_core_1.AMPLITUDE_PREFIX, "_replay_unsent");
exports.MAX_EVENT_LIST_SIZE_IN_BYTES = 1 * 1000000; // 1 MB
exports.INTERACTION_MIN_INTERVAL = 30000; // 30 seconds
exports.INTERACTION_MAX_INTERVAL = 60000; // 1 minute
exports.MIN_INTERVAL = 500; // 500 ms
exports.MAX_INTERVAL = 10 * 1000; // 10 seconds
exports.MAX_IDB_STORAGE_LENGTH = 1000 * 60 * 60 * 24 * 3; // 3 days
exports.KB_SIZE = 1024;
exports.MAX_URL_LENGTH = 1000;
var CustomRRwebEvent;
(function (CustomRRwebEvent) {
    CustomRRwebEvent["GET_SR_PROPS"] = "get-sr-props";
    CustomRRwebEvent["DEBUG_INFO"] = "debug-info";
    CustomRRwebEvent["FETCH_REQUEST"] = "fetch-request";
})(CustomRRwebEvent = exports.CustomRRwebEvent || (exports.CustomRRwebEvent = {}));
//# sourceMappingURL=constants.js.map