// Copyright 2019 The Oppia Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS-IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

/**
 * @fileoverview Constants for the question player directive.
 */

// TODO(#7092): Delete this file once migration is complete and these AngularJS
// equivalents of the Angular constants are no longer needed.
import { QuestionPlayerConstants } from
  'components/question-directives/question-player/question-player.constants';

angular.module('oppia').constant(
  'HASH_PARAM', QuestionPlayerConstants.HASH_PARAM);
angular.module('oppia').constant(
  'MAX_SCORE_PER_QUESTION', QuestionPlayerConstants.MAX_SCORE_PER_QUESTION);

angular.module('oppia').constant(
  'MAX_MASTERY_GAIN_PER_QUESTION',
  QuestionPlayerConstants.MAX_MASTERY_GAIN_PER_QUESTION);

angular.module('oppia').constant(
  'MAX_MASTERY_LOSS_PER_QUESTION',
  QuestionPlayerConstants.MAX_MASTERY_LOSS_PER_QUESTION);


angular.module('oppia').constant(
  'COLORS_FOR_PASS_FAIL_MODE',
  QuestionPlayerConstants.COLORS_FOR_PASS_FAIL_MODE);

angular.module('oppia').constant(
  'QUESTION_PLAYER_MODE', QuestionPlayerConstants.QUESTION_PLAYER_MODE);

angular.module('oppia').constant(
  'VIEW_HINT_PENALTY', QuestionPlayerConstants.VIEW_HINT_PENALTY);

angular.module('oppia').constant(
  'VIEW_HINT_PENALTY_FOR_MASTERY',
  QuestionPlayerConstants.VIEW_HINT_PENALTY_FOR_MASTERY);

angular.module('oppia').constant(
  'WRONG_ANSWER_PENALTY', QuestionPlayerConstants.WRONG_ANSWER_PENALTY);

angular.module('oppia').constant(
  'WRONG_ANSWER_PENALTY_FOR_MASTERY',
  QuestionPlayerConstants.WRONG_ANSWER_PENALTY_FOR_MASTERY);
