"use strict";
/**
 * @Copyright (c) Microsoft Corporation.  All rights reserved.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.isFixDebugDialogUIKSActivated = exports.isHubbleCorsUpdateKSActivated = exports.isLogSPFxVersionFor3pComponentsKSActivated = exports.isSetSameSiteByDefaultKSActivated = exports.notReadTenantIdAndUserIdFromQueryParametersOnFirstPartyIsloatedDomainKSActivated = exports.isPreventLateIframeRedirectKSActivated = void 0;
var sp_core_library_1 = require("@microsoft/sp-core-library");
function isPreventLateIframeRedirectKSActivated() {
    return sp_core_library_1._SPKillSwitch.isActivated('56151a3e-a100-403c-9e91-cb5d1677ed66'
    /* '06/13/2022', 'instantiate IframeLoadRedirector earlier and support pre-emptively preventing redirects' */
    );
}
exports.isPreventLateIframeRedirectKSActivated = isPreventLateIframeRedirectKSActivated;
function notReadTenantIdAndUserIdFromQueryParametersOnFirstPartyIsloatedDomainKSActivated() {
    return sp_core_library_1._SPKillSwitch.isActivated('03d09d7b-3e05-4478-a47e-9f91f38574bb'
    /* '08/31/2022', 'kill switch to disable using query parameters for tenant id and user id on securebroker domain' */
    );
}
exports.notReadTenantIdAndUserIdFromQueryParametersOnFirstPartyIsloatedDomainKSActivated = notReadTenantIdAndUserIdFromQueryParametersOnFirstPartyIsloatedDomainKSActivated;
function isSetSameSiteByDefaultKSActivated() {
    return sp_core_library_1._SPKillSwitch.isActivated('c6d41898-d9e1-4ec8-9ae5-0c8991c9b5d0'
    /* '02/23/2023, 'Add SameSite attribute be default'  */
    );
}
exports.isSetSameSiteByDefaultKSActivated = isSetSameSiteByDefaultKSActivated;
function isLogSPFxVersionFor3pComponentsKSActivated() {
    return sp_core_library_1._SPKillSwitch.isActivated('b35cdec2-b17e-473e-8107-ca372f006eea'
    /*'08/31/2022', 'Log SPFx version for 3p components' */
    );
}
exports.isLogSPFxVersionFor3pComponentsKSActivated = isLogSPFxVersionFor3pComponentsKSActivated;
function isHubbleCorsUpdateKSActivated() {
    return sp_core_library_1._SPKillSwitch.isActivated('b9de0d5b-3b0c-4668-af7e-8ccee2802d8d'
    /*'04/18/2023', 'Hubble cors fix' */
    );
}
exports.isHubbleCorsUpdateKSActivated = isHubbleCorsUpdateKSActivated;
function isFixDebugDialogUIKSActivated() {
    return sp_core_library_1._SPKillSwitch.isActivated('c8d7dfe8-663f-4568-bb6e-d1973a7f38ca'
    /*'05/15/2023', 'Fix debug dialog UI' */
    );
}
exports.isFixDebugDialogUIKSActivated = isFixDebugDialogUIKSActivated;
//# sourceMappingURL=KillSwitches.js.map