"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const Translation_1 = require("translations/Translation");
const Step_1 = __importDefault(require("../Step"));
const StepThanksComponent_1 = __importDefault(require("./StepThanksComponent"));
const StepThanksValidator_1 = __importDefault(require("./StepThanksValidator"));
const InlineAddonStepFeature_1 = __importDefault(require("../../../providers/feature/InlineAddonStepFeature"));
class StepThanks extends Step_1.default {
    constructor() {
        super('Thanks');
        this.showOnNavigation = false;
    }
    getComponent() {
        return StepThanksComponent_1.default;
    }
    getValidator() {
        return new StepThanksValidator_1.default();
    }
    shouldShowOnNavigation() {
        return !InlineAddonStepFeature_1.default.isActive();
    }
    getStepTranslation() {
        return Translation_1.Translation.Navigation.Steps.Thanks;
    }
    getColorProfile(company, hotel) {
        if (hotel) {
            return hotel.colors;
        }
    }
}
exports.default = new StepThanks();
//# sourceMappingURL=StepThanks.js.map