"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Killswitches = void 0;
var sp_core_library_1 = require("@microsoft/sp-core-library");
var Killswitches = /** @class */ (function () {
    function Killswitches() {
    }
    Killswitches.isDuplicateErrorMessageV2KillSwitchActivated = function () {
        return sp_core_library_1._SPKillSwitch.isActivated(sp_core_library_1.Guid.parse('efa9490b-c037-465e-ae95-6eccef6061e8'), '5/11/20', 'Prevent duplicate error messages from appearing');
    };
    Killswitches.AddPageUniqueIdToPageContextKillSwitchActivated = function () {
        return sp_core_library_1._SPKillSwitch.isActivated('148fab30-9c27-4773-bcbe-c1576a7740ba'
        /* 02/25/2021,
        Add page unique id to page context */
        );
    };
    Killswitches.throwExceptionFromCatchBlockKSActivated = function () {
        return sp_core_library_1._SPKillSwitch.isActivated('8d4aa7c2-f5ab-40a0-a108-b777b458df4c'
        /* 06/03/2021,
        Throw exception from the render catch block of BaseApplication */
        );
    };
    Killswitches.monitorClosureKSActivated = function () {
        return sp_core_library_1._SPKillSwitch.isActivated('3f434dca-7ad6-441d-ba99-a10077838473'
        /* 07/16/2021,
        Close QoS monitor in case of promise reject */
        );
    };
    Killswitches.buildIDMismatchKSActivated = function () {
        return sp_core_library_1._SPKillSwitch.isActivated('300c695e-a0d4-43e3-be5e-d6b82892a135'
        /* 08/23/2021,
        Mark BuildID mismatch as expected failure. */
        );
    };
    Killswitches.isChangeWorkloadForTeamsWorkBenchKSActivated = function () {
        return sp_core_library_1._SPKillSwitch.isActivated('66f65dfa-6988-413b-a46d-6872886d05fb'
        /* '11/18/2021', 'Change Workload For Teams WorkBench' */
        );
    };
    Killswitches.isPageTypeForLayoutsKSActivated = function () {
        return sp_core_library_1._SPKillSwitch.isActivated('8b8d7a10-d7ba-47f5-8ed5-1aa72caf73ac'
        /* '12/06/2021', 'Extract _layouts name for PageType logging' */
        );
    };
    Killswitches.isClearEventQueueKSActivated = function () {
        return sp_core_library_1._SPKillSwitch.isActivated('cce74c23-0de4-4d05-a399-58ff80a092f1'
        /* '12/22/21', 'Clear Sticky Events Queue when requested' */
        );
    };
    Killswitches.isListViewThemelessKSActivated = function () {
        return sp_core_library_1._SPKillSwitch.isActivated('3ab5225a-cd2e-46e5-a023-d68896841fbf'
        /* '02/01/2022', 'ListView Themeless' */
        );
    };
    return Killswitches;
}());
exports.Killswitches = Killswitches;
//# sourceMappingURL=Killswitches.js.map