

(function(globals) {

  var django = globals.django || (globals.django = {});

  
  django.pluralidx = function(count) { return (count == 1) ? 0 : 1; };
  

  /* gettext library */

  django.catalog = django.catalog || {};
  
  var newcatalog = {
    "msg_confusing_reason_1": "It\u2019s too long",
    "msg_confusing_reason_2": "It seems to be unrelated to me",
    "msg_confusing_reason_2_someone": "It seems to be unrelated to my concerns",
    "msg_confusing_reason_3": "It contains complex words",
    "msg_confusing_reason_4": "I\u2019ve already answered this question",
    "msg_confusing_reason_5": "I can\u2019t decide which answer to choose",
    "msg_confusing_reason_6": "I found a typo",
    "msg_confusing_reason_7": "Other (please comment below)",
    "msg_doctor_details_risk_high": "High",
    "msg_doctor_details_risk_low": "Low",
    "msg_doctor_details_risk_medium": "Medium",
    "msg_dont_konw": "Don't know",
    "msg_editor_editor_notification_form_create_new_revision_fail": "There was a problem with publishing your form, please try again.",
    "msg_editor_editor_notification_form_create_new_revision_success": "Your form has been successfully published.",
    "msg_editor_editor_notification_question_update_fail": "Question update failed, please try again.",
    "msg_editor_editor_notification_server_problem": "There is a problem with server connection, please try again.",
    "msg_editor_editor_question_condition_result_list": "Condition result list",
    "msg_editor_editor_question_default_text_age": "How old are you?",
    "msg_editor_editor_question_default_text_birthdate": "What is your date of birth?",
    "msg_editor_editor_question_default_text_city": "Where do you live?",
    "msg_editor_editor_question_default_text_contact": "What's your phone number?",
    "msg_editor_editor_question_default_text_email": "Enter your email address.",
    "msg_editor_editor_question_default_text_height": "What is your height?",
    "msg_editor_editor_question_default_text_interview_direct": "Who is this question for?",
    "msg_editor_editor_question_default_text_name": "What's your name?",
    "msg_editor_editor_question_default_text_pesel": "Enter your PESEL number.",
    "msg_editor_editor_question_default_text_phone": "Enter your phone number.",
    "msg_editor_editor_question_default_text_sex": "Please select your sex",
    "msg_editor_editor_question_default_text_weight": "How much do you weigh?",
    "msg_editor_editor_question_type_age": "Age",
    "msg_editor_editor_question_type_agreement": "Agreement",
    "msg_editor_editor_question_type_birthdate": "Birthdate",
    "msg_editor_editor_question_type_city": "City question",
    "msg_editor_editor_question_type_contact": "Contact question",
    "msg_editor_editor_question_type_dropdown_list": "Dropdown list",
    "msg_editor_editor_question_type_email": "Email",
    "msg_editor_editor_question_type_evidence_search": "Observation search",
    "msg_editor_editor_question_type_evidence_search_body_widget": "Observation search body widget",
    "msg_editor_editor_question_type_expected_condition": "Expected condition",
    "msg_editor_editor_question_type_height": "Height",
    "msg_editor_editor_question_type_intelligent_diagnosis": "Intelligent interview",
    "msg_editor_editor_question_type_interview_direct": "Interview direct",
    "msg_editor_editor_question_type_long_text": "Long text input",
    "msg_editor_editor_question_type_map_select": "Map",
    "msg_editor_editor_question_type_message": "Message",
    "msg_editor_editor_question_type_multiple_answer": "Multiple answer question",
    "msg_editor_editor_question_type_name": "Name",
    "msg_editor_editor_question_type_pediatrics_disclaimer": "Pediatrics disclaimer",
    "msg_editor_editor_question_type_pesel": "PESEL",
    "msg_editor_editor_question_type_phone": "Phone",
    "msg_editor_editor_question_type_result_blocks": "Result blocks",
    "msg_editor_editor_question_type_select": "Select",
    "msg_editor_editor_question_type_sex": "Sex",
    "msg_editor_editor_question_type_short_text": "Short text input",
    "msg_editor_editor_question_type_simple": "Simple question",
    "msg_editor_editor_question_type_thank_you": "Thank you",
    "msg_editor_editor_question_type_weight": "Weight",
    "msg_editor_forms_notification_create_form_error": "Creating new form failed, please try again.",
    "msg_editor_forms_notification_getting_form_list_error": "Something went wrong, please refresh the page.",
    "msg_editor_forms_notification_remove_error": "Form removing failed, please try again.",
    "msg_editor_forms_notification_remove_success": "Form has been successfully removed.",
    "msg_editor_forms_notification_rename_error": "Form update failed, please try again.",
    "msg_editor_forms_notification_rename_success": "Form has been successfully updated.",
    "msg_no": "No",
    "msg_parent_relation_label_character": "Character",
    "msg_parent_relation_label_diminishing_factor": "Diminishing factor",
    "msg_parent_relation_label_duration": "Duration",
    "msg_parent_relation_label_exacerbating_factor": "Exacerbating factor",
    "msg_parent_relation_label_location": "Location",
    "msg_parent_relation_label_radiation": "Radiation",
    "msg_parent_relation_label_severity": "Severity",
    "msg_prescreening_ce_header": "CE Marking",
    "msg_prescreening_confusing_question_panel_choice_label_already_asked": "I\u2019ve already answered this question",
    "msg_prescreening_confusing_question_panel_choice_label_cant_decide": "I can\u2019t decide which answer to choose",
    "msg_prescreening_confusing_question_panel_choice_label_complex_words": "It contains complex words",
    "msg_prescreening_confusing_question_panel_choice_label_other": "Other (please comment below)",
    "msg_prescreening_confusing_question_panel_choice_label_too_long": "It\u2019s too long",
    "msg_prescreening_confusing_question_panel_choice_label_typo": "I found a typo",
    "msg_prescreening_confusing_question_panel_choice_label_unrelated": "It seems to be unrelated to me",
    "msg_prescreening_date_month_april": "April",
    "msg_prescreening_date_month_august": "August",
    "msg_prescreening_date_month_december": "December",
    "msg_prescreening_date_month_february": "February",
    "msg_prescreening_date_month_january": "January",
    "msg_prescreening_date_month_july": "July",
    "msg_prescreening_date_month_june": "June",
    "msg_prescreening_date_month_march": "March",
    "msg_prescreening_date_month_may": "May",
    "msg_prescreening_date_month_november": "November",
    "msg_prescreening_date_month_october": "October",
    "msg_prescreening_date_month_september": "September",
    "msg_prescreening_diagnosis_high_risk_label": "Strong evidence",
    "msg_prescreening_diagnosis_low_risk_label": "Weak evidence",
    "msg_prescreening_diagnosis_moderate_risk_label": "Moderate evidence",
    "msg_prescreening_diagnosis_suggest_question_text": "Do you have any of the following symptoms?",
    "msg_prescreening_for_business_header": "For business",
    "msg_prescreening_info_age_input_invalid": "Please enter a valid age.",
    "msg_prescreening_info_age_input_max": "You can't be that old. Please enter a valid age.",
    "msg_prescreening_info_age_input_min": "Sorry, you are not old enough to use this site.",
    "msg_prescreening_info_age_input_required": "Please enter your age.",
    "msg_prescreening_info_birthdate_error_future-date": "Sorry, the date of birth cannot be a future date",
    "msg_prescreening_info_birthdate_error_invalid": "Please enter a valid birthdate, e.g. 05/11/1990",
    "msg_prescreening_info_birthdate_error_outside-range": "Sorry, our checkup only covers people between ${min_age} and ${max_age} years old",
    "msg_prescreening_info_height_invalid": "Please enter a valid height.",
    "msg_prescreening_info_height_max": "Please enter a valid height.",
    "msg_prescreening_info_height_min": "Please enter a valid height.",
    "msg_prescreening_info_height_required": "Please enter height.",
    "msg_prescreening_info_height_switch_to_cm": "Switch to cm",
    "msg_prescreening_info_height_switch_to_in": "Switch to ft, in",
    "msg_prescreening_info_number_input_invalid": "Value is invalid.",
    "msg_prescreening_info_number_input_max": "Value is too high.",
    "msg_prescreening_info_number_input_min": "Value is too low.",
    "msg_prescreening_info_number_input_required": "This field cannot be empty.",
    "msg_prescreening_info_weight_invalid": "Please enter a valid weight.",
    "msg_prescreening_info_weight_max": "Please enter a valid weight.",
    "msg_prescreening_info_weight_min": "Please enter a valid weight.",
    "msg_prescreening_info_weight_required": "Please enter weight.",
    "msg_prescreening_info_weight_switch_to_kg": "Switch to kg",
    "msg_prescreening_info_weight_switch_to_lb": "Switch to lb",
    "msg_prescreening_question_type_age": "Age",
    "msg_prescreening_question_type_agreement": "Agreement",
    "msg_prescreening_question_type_city": "City",
    "msg_prescreening_question_type_condition_results": "Condition result list",
    "msg_prescreening_question_type_contact": "Contact",
    "msg_prescreening_question_type_dropdown_list": "Dropdown list",
    "msg_prescreening_question_type_email": "Email",
    "msg_prescreening_question_type_evidence_search_body_widget": "Observations",
    "msg_prescreening_question_type_expected_condition": "Expected condition",
    "msg_prescreening_question_type_height": "Height",
    "msg_prescreening_question_type_input": "Question",
    "msg_prescreening_question_type_intelligent_diagnosis": "Intelligent interview",
    "msg_prescreening_question_type_introduction": "Introduction",
    "msg_prescreening_question_type_long_input": "Question",
    "msg_prescreening_question_type_map_select": "Map",
    "msg_prescreening_question_type_message": "Message",
    "msg_prescreening_question_type_multiple_choice": "Question",
    "msg_prescreening_question_type_name": "Name",
    "msg_prescreening_question_type_patient": "Patient",
    "msg_prescreening_question_type_pesel": "PESEL",
    "msg_prescreening_question_type_phone": "Phone",
    "msg_prescreening_question_type_result_blocks": "Results",
    "msg_prescreening_question_type_select": "Question",
    "msg_prescreening_question_type_sex": "Sex",
    "msg_prescreening_question_type_simple": "Question",
    "msg_prescreening_question_type_thank_you": "Thank you",
    "msg_prescreening_question_type_weight": "Weight",
    "msg_question_age": "How old are you?",
    "msg_question_age_someone": "How old are they?",
    "msg_question_birthdate": "What is your date of birth?",
    "msg_question_birthdate_someone": "What is their date of birth?",
    "msg_question_height": "What is your height?",
    "msg_question_height_someone": "What is their height?",
    "msg_question_regions": "Please select the region you live in and places you've traveled to in the last 12 months.",
    "msg_question_regions_someone": "Please select the region they live in and places they have traveled to in the last 12 months.",
    "msg_question_risk_factors": "Please check all the statements below that apply to you.",
    "msg_question_risk_factors_someone": "Please check all the statements below that apply to them.",
    "msg_question_sex": "What is your sex?",
    "msg_question_sex_someone": "What is their sex?",
    "msg_question_suggest": "Do you have any of the following symptoms?",
    "msg_question_suggest_someone": "Do they have any of the following symptoms?",
    "msg_question_symptoms": "Add symptoms",
    "msg_question_symptoms_hint_desktop": "Please use the search or click on the body. Add as many symptoms as you can for the most accurate results.",
    "msg_question_symptoms_hint_mobile": "Please use the search. Add as many symptoms as you can for the most accurate results.",
    "msg_question_weight": "How much do you weigh?",
    "msg_question_weight_someone": "How much do they weigh?",
    "msg_rationale_message_error": "Sorry, something went wrong. I'm unable to find any explanation. Please try again.",
    "msg_region_australia_and_oceania": "Australia and Oceania",
    "msg_region_central_africa": "Central Africa",
    "msg_region_europe": "Europe",
    "msg_region_latin_and_south_america": "Latin and South America",
    "msg_region_middle_east": "Middle east",
    "msg_region_north_africa": "North Africa",
    "msg_region_north_america_wo_mexico": "North America w/o Mexico",
    "msg_region_russia_kazakhstan_mongolia": "Russia, Kazakhstan and Mongolia",
    "msg_region_south_africa": "South Africa",
    "msg_region_south_west_asia": "Southwestern Asia",
    "msg_result_block_feedback_error": "Something went wrong. Please try again.",
    "msg_result_block_specialist_recommendation_channel_audio_teleconsultation": "Telephone consultation",
    "msg_result_block_specialist_recommendation_channel_personal_visit": "In-person visit",
    "msg_result_block_specialist_recommendation_channel_text_teleconsultation": "Chat",
    "msg_result_block_specialist_recommendation_channel_video_teleconsultation": "Video consultation",
    "msg_result_block_statistics_minutes": " min ",
    "msg_result_block_statistics_seconds": " s",
    "msg_system_disclaimer": "Please note that the information provided by this tool is provided solely for educational purposes and is not a qualified medical opinion. This information should not be considered advice or an opinion of a doctor or other health professional about your actual medical state, and you should see a doctor for any symptoms you may have. If you are experiencing a health emergency, you should call your local emergency number immediately to request emergency medical assistance.",
    "msg_system_disclaimer_someone": "Please note that the information provided by this tool is provided solely for educational purposes and is not a qualified medical opinion. This information should not be considered advice or an opinion of a doctor or other health professional about your actual medical state, and you should see a doctor for any symptoms you may have. If you feel they are experiencing a health emergency, you should call your local emergency number immediately to request emergency medical assistance.",
    "msg_system_message_no_results": "Unfortunately, we don\u2019t know what could causing your symptoms. If you are still concerned about your health, please contact a doctor. Print the list of symptoms and show it to a doctor.",
    "msg_system_message_no_results_pediatrics_child": "Unfortunately, we don\u2019t know what could causing their symptoms. If you are still concerned about their health, please contact a doctor. Print the list of their symptoms and show it to a doctor.",
    "msg_system_message_no_results_someone": "Unfortunately, we don\u2019t know what could causing their symptoms. If they are still concerned about their health, they should contact a doctor. Print the list of their symptoms and ask them to show it to a doctor.",
    "msg_system_skip_question": "Skip this question",
    "msg_system_summary_answers": "Your answers",
    "msg_system_summary_answers_someone": "Their answers",
    "msg_system_switch_cm": "Switch to cm",
    "msg_system_switch_ft": "Switch to ft, in",
    "msg_system_switch_kg": "Switch to kg",
    "msg_system_switch_lbs": "Switch to lbs",
    "msg_system_triage_consultation_24_message": "Your symptoms may require prompt medical evaluation. If symptoms suddenly get worse, go to the nearest emergency department.",
    "msg_system_triage_consultation_24_message_pediatrics_child": "Their symptoms may require prompt medical evaluation. If their symptoms suddenly worsen, go to the nearest emergency department.",
    "msg_system_triage_consultation_24_message_someone": "Their symptoms may require prompt medical evaluation. If their symptoms suddenly worsen, they should go to the nearest emergency department.",
    "msg_system_triage_consultation_message": "Your symptoms may require medical evaluation. Schedule an appointment with your doctor. If your symptoms get worse, see a doctor immediately.",
    "msg_system_triage_consultation_message_pediatrics_0-1m": "Their symptoms may require medical evaluation. Schedule an appointment with a doctor. If their symptoms worsen, see a doctor immediately. Remember that conditions in newborns can change quickly and do not necessarily present the same as they do in adults.",
    "msg_system_triage_consultation_message_pediatrics_1m-11m": "Their symptoms may require medical evaluation. Schedule an appointment with a doctor. If their symptoms worsen, see a doctor immediately. Remember that conditions in infants can change quickly and do not necessarily present the same as they do in adults.",
    "msg_system_triage_consultation_message_pediatrics_child": "Their symptoms may require medical evaluation. Schedule an appointment with a doctor. If their symptoms worsen, see a doctor immediately.",
    "msg_system_triage_consultation_message_someone": "Their symptoms may require medical evaluation. They should schedule an appointment with a doctor. If their symptoms worsen, they should see a doctor immediately.",
    "msg_system_triage_emergency_ambulance_message": "Your symptoms are very serious, and you may require emergency care. Do not delay. Call an ambulance right now.",
    "msg_system_triage_emergency_ambulance_message_someone": "Their symptoms are very serious, and they may require emergency care. Do not delay. Call an ambulance right now.",
    "msg_system_triage_emergency_message": "Your symptoms appear serious and you may require urgent care. If you can\u2019t get to an emergency department, please call an ambulance.",
    "msg_system_triage_emergency_message_pediatrics_child": "Their symptoms appear serious and they may require urgent care. If you can\u2019t get to an emergency department, please call an ambulance.",
    "msg_system_triage_emergency_message_someone": "Their symptoms appear serious and they may require urgent care. If they can\u2019t get to an emergency department, please call an ambulance.",
    "msg_system_triage_self_care_message": "Usually, your symptoms don\u2019t require medical care and they may resolve on their own. You may try to manage your condition with home remedies. If your symptoms get worse or new symptoms appear, consult a doctor immediately.",
    "msg_system_triage_self_care_message_pediatrics_12y-17y": "Usually, symptoms such as these do not require medical care and they may resolve on their own. You can try to manage this condition with home remedies. If symptoms get worse or new symptoms appear, consult a doctor immediately.",
    "msg_system_triage_self_care_message_pediatrics_child": "Usually in children, symptoms such as these do not require medical care and they may resolve on their own. You can try to manage this condition with home remedies. If symptoms get worse or new symptoms appear, consult a doctor immediately.",
    "msg_system_triage_self_care_message_someone": "Usually, symptoms such as these do not require medical care and they may resolve on their own. They can try to manage this condition with home remedies. If symptoms get worse or new symptoms appear, they should consult a doctor immediately.",
    "msg_unit_cm": "cm",
    "msg_unit_ft": "ft",
    "msg_unit_in": "in",
    "msg_unit_kg": "kg",
    "msg_unit_lbs": "lbs",
    "msg_validation_date_future": "Date of birth cannot be a future date.",
    "msg_validation_date_invalid": "Please enter a valid date.",
    "msg_validation_height_empty": "Please enter height.",
    "msg_validation_height_high_in": "Please enter a valid value in inches (0\u201311).",
    "msg_validation_height_invalid_cm": "Please enter a valid height (40\u2013250 cm).",
    "msg_validation_height_invalid_in": "Please enter a valid height (1 ft 3 in\u20138 ft 2 in).",
    "msg_validation_weight_empty": "Please enter weight.",
    "msg_validation_weight_invalid_kg": "Please enter a valid weight (1\u2013500 kg).",
    "msg_validation_weight_invalid_lbs": "Please enter a valid weight (2\u20131102 lbs).",
    "msg_yes": "Yes"
  };
  for (var key in newcatalog) {
    django.catalog[key] = newcatalog[key];
  }
  

  if (!django.jsi18n_initialized) {
    django.gettext = function(msgid) {
      var value = django.catalog[msgid];
      if (typeof(value) == 'undefined') {
        return msgid;
      } else {
        return (typeof(value) == 'string') ? value : value[0];
      }
    };

    django.ngettext = function(singular, plural, count) {
      var value = django.catalog[singular];
      if (typeof(value) == 'undefined') {
        return (count == 1) ? singular : plural;
      } else {
        return value[django.pluralidx(count)];
      }
    };

    django.gettext_noop = function(msgid) { return msgid; };

    django.pgettext = function(context, msgid) {
      var value = django.gettext(context + '\x04' + msgid);
      if (value.indexOf('\x04') != -1) {
        value = msgid;
      }
      return value;
    };

    django.npgettext = function(context, singular, plural, count) {
      var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count);
      if (value.indexOf('\x04') != -1) {
        value = django.ngettext(singular, plural, count);
      }
      return value;
    };

    django.interpolate = function(fmt, obj, named) {
      if (named) {
        return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])});
      } else {
        return fmt.replace(/%s/g, function(match){return String(obj.shift())});
      }
    };


    /* formatting library */

    django.formats = {
    "DATETIME_FORMAT": "N j, Y, P",
    "DATETIME_INPUT_FORMATS": [
      "%Y-%m-%d %H:%M:%S",
      "%Y-%m-%d %H:%M:%S.%f",
      "%Y-%m-%d %H:%M",
      "%Y-%m-%d",
      "%m/%d/%Y %H:%M:%S",
      "%m/%d/%Y %H:%M:%S.%f",
      "%m/%d/%Y %H:%M",
      "%m/%d/%Y",
      "%m/%d/%y %H:%M:%S",
      "%m/%d/%y %H:%M:%S.%f",
      "%m/%d/%y %H:%M",
      "%m/%d/%y"
    ],
    "DATE_FORMAT": "N j, Y",
    "DATE_INPUT_FORMATS": [
      "%Y-%m-%d",
      "%m/%d/%Y",
      "%m/%d/%y"
    ],
    "DECIMAL_SEPARATOR": ".",
    "FIRST_DAY_OF_WEEK": "0",
    "MONTH_DAY_FORMAT": "F j",
    "NUMBER_GROUPING": "3",
    "SHORT_DATETIME_FORMAT": "m/d/Y P",
    "SHORT_DATE_FORMAT": "m/d/Y",
    "THOUSAND_SEPARATOR": ",",
    "TIME_FORMAT": "P",
    "TIME_INPUT_FORMATS": [
      "%H:%M:%S",
      "%H:%M:%S.%f",
      "%H:%M"
    ],
    "YEAR_MONTH_FORMAT": "F Y"
  };

    django.get_format = function(format_type) {
      var value = django.formats[format_type];
      if (typeof(value) == 'undefined') {
        return format_type;
      } else {
        return value;
      }
    };

    /* add to global namespace */
    globals.pluralidx = django.pluralidx;
    globals.gettext = django.gettext;
    globals.ngettext = django.ngettext;
    globals.gettext_noop = django.gettext_noop;
    globals.pgettext = django.pgettext;
    globals.npgettext = django.npgettext;
    globals.interpolate = django.interpolate;
    globals.get_format = django.get_format;

    django.jsi18n_initialized = true;
  }

}(this));

