<commit_before>import React from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';

import { focusElement } from '../../../platform/utilities/ui';
import OMBInfo from '@department-of-veterans-affairs/formation/OMBInfo';
import FormTitle from '../../common/schemaform/components/FormTitle';
import SaveInProgressIntro, { introActions, introSelector } from '../../common/schemaform/save-in-progress/SaveInProgressIntro';

class IntroductionPage extends React.Component {
  componentDidMount() {
    focusElement('.va-nav-breadcrumbs-list');
  }

  render() {
    return (
      <div className="schemaform-intro">
        <FormTitle title="Apply for health care benefits"/>
        <p>Equal to VA Form 10-10EZ (Application for Health Benefits).</p>
        <SaveInProgressIntro
          prefillEnabled={this.props.route.formConfig.prefillEnabled}
          messages={this.props.route.formConfig.savedFormMessages}
          pageList={this.props.route.pageList}
          startText="Start the Health Care Application"
          {...this.props.saveInProgressActions}
          {...this.props.saveInProgress}>
          Please complete the 10-10EZ form to apply for health care benefits.
        </SaveInProgressIntro>
        <h4>Follow the steps below to apply for health care benefits.</h4>
        <div className="process schemaform-process">
          <ol>
            <li className="process-step list-one">
              <div><h5>Prepare</h5></div>
              <div><h6>To fill out this application, you’ll need your:</h6></div>
              <ul>
                <li>Social Security number (required)</li>
                <li>Copy of your military discharge papers (DD214 or other separation documents)</li>
                <li>Financial information—and your dependents’ financial information</li>
                <li>Most recent tax return</li>
                <li>Account numbers for any health insurance you currently have (such as Medicare, private insurance, or insurance from an employer)</li>
              </ul>
              <p><strong>What if I need help filling out my application?</strong> An accredited representative, like a Veterans Service Officer (VSO), can help you fill out your claim. <a href="/disability-benefits/apply/help/index.html">Get help filing your claim</a>.</p>
              <div><h6>Vision and dental benefits</h6></div>
              <p>You may qualify for vision and dental benefits as part of your VA health care benefits.</p>
              <ul>
                <li><strong>Vision benefits.</strong> VA health care covers routine eye exams and preventive tests. In some cases, you may get coverage for eyeglasses or services for blind or low-vision rehabilitation. <a href="/health-care/about-va-health-care/vision-care/">Learn more about vision care through VA</a>.</li>
                <li><strong>Dental benefits.</strong> In some cases, you may receive dental care as part of your health care benefits. <a href="/health-care/about-va-health-care/dental-care/">Learn more about VA dental services</a>.</li>
              </ul>
              <div><h6>Health care priority groups</h6></div>
              <p>When you apply for VA health care, we’ll assign you 1 of 8 priority groups. This system helps to make sure that Veterans who need immediate care can get signed up quickly. We assign Veterans with service-connected disabilities the highest priority. We assign the lowest priority to Veterans who earn a higher income and who don’t have any service-connected disabilities. <a href="/health-care/eligibility/#priority-groups">Learn more about priority groups</a>.</p>
            </li>
            <li className="process-step list-two">
              <div><h5>Apply</h5></div>
              <p>Complete this health care benefits form.</p>
              <p>After submitting the form, you’ll get a confirmation message. You can print this for your records.</p>
            </li>
            <li className="process-step list-three">
              <div><h5>VA Review</h5></div>
              <p>We process health care claims within a week. If more than a week has passed since you submitted your application and you haven’t heard back, please don’t apply again. Call us at 1-877-222-VETS (<a href="tel:+18772228387">1-877-222-8387</a>).</p>
            </li>
            <li className="process-step list-four">
              <div><h5>Decision</h5></div>
              <p>Once we’ve processed your claim, you’ll get a notice in the mail with our decision.</p>
            </li>
          </ol>
        </div>
        <SaveInProgressIntro
          buttonOnly
          messages={this.props.route.formConfig.savedFormMessages}
          pageList={this.props.route.pageList}
          startText="Start the Health Care Application"
          {...this.props.saveInProgressActions}
          {...this.props.saveInProgress}/>
        <div className="omb-info--container" style={{ paddingLeft: '0px' }}>
          <OMBInfo resBurden={30} ombNumber="2900-0091" expDate="05/31/2018"/>
        </div>
      </div>
    );<commit_msg>Add downtime message to HCA (#7744)<commit_after>import React from 'react';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';

import { focusElement } from '../../../platform/utilities/ui';
import OMBInfo from '@department-of-veterans-affairs/formation/OMBInfo';
import FormTitle from '../../common/schemaform/components/FormTitle';
import SaveInProgressIntro, { introActions, introSelector } from '../../common/schemaform/save-in-progress/SaveInProgressIntro';
import DowntimeNotification, { services, serviceStatus } from '../../../platform/monitoring/DowntimeNotification';
import AlertBox from '@department-of-veterans-affairs/formation/AlertBox';

function renderDowntime(status, downtimeWindow, downtimeMap, children) {
  if (status === serviceStatus.down) {
    const message = (
      <div>
        <p>We’re sorry. The health care application is currently down while we fix a few things. We’ll be back up as soon as we can.</p>
        <p>In the meantime, you can call 1-877-222-VETS (<a href="tel:+18772228387">1-877-222-8387</a>), Monday &#8211; Friday, 8:00 a.m. &#8211; 8:00 p.m. (<abbr title="eastern time">ET</abbr>) and press 2 to complete this application over the phone.</p>
      </div>
    );

    return (
      <AlertBox
        headline="The health care application is down for maintenance."
        content={message}
        isVisible
        status="warning"/>
    );
  }

  return children;
}
class IntroductionPage extends React.Component {
  componentDidMount() {
    focusElement('.va-nav-breadcrumbs-list');
  }

  render() {
    return (
      <div className="schemaform-intro">
        <FormTitle title="Apply for health care benefits"/>
        <p>Equal to VA Form 10-10EZ (Application for Health Benefits).</p>
        <DowntimeNotification
          appTitle="health care application"
          render={renderDowntime}
          dependencies={[services.es]}>
          <SaveInProgressIntro
            prefillEnabled={this.props.route.formConfig.prefillEnabled}
            messages={this.props.route.formConfig.savedFormMessages}
            pageList={this.props.route.pageList}
            startText="Start the Health Care Application"
            {...this.props.saveInProgressActions}
            {...this.props.saveInProgress}>
            Please complete the 10-10EZ form to apply for health care benefits.
          </SaveInProgressIntro>
        </DowntimeNotification>
        <h4>Follow the steps below to apply for health care benefits.</h4>
        <div className="process schemaform-process">
          <ol>
            <li className="process-step list-one">
              <div><h5>Prepare</h5></div>
              <div><h6>To fill out this application, you’ll need your:</h6></div>
              <ul>
                <li>Social Security number (required)</li>
                <li>Copy of your military discharge papers (DD214 or other separation documents)</li>
                <li>Financial information—and your dependents’ financial information</li>
                <li>Most recent tax return</li>
                <li>Account numbers for any health insurance you currently have (such as Medicare, private insurance, or insurance from an employer)</li>
              </ul>
              <p><strong>What if I need help filling out my application?</strong> An accredited representative, like a Veterans Service Officer (VSO), can help you fill out your claim. <a href="/disability-benefits/apply/help/index.html">Get help filing your claim</a>.</p>
              <div><h6>Vision and dental benefits</h6></div>
              <p>You may qualify for vision and dental benefits as part of your VA health care benefits.</p>
              <ul>
                <li><strong>Vision benefits.</strong> VA health care covers routine eye exams and preventive tests. In some cases, you may get coverage for eyeglasses or services for blind or low-vision rehabilitation. <a href="/health-care/about-va-health-care/vision-care/">Learn more about vision care through VA</a>.</li>
                <li><strong>Dental benefits.</strong> In some cases, you may receive dental care as part of your health care benefits. <a href="/health-care/about-va-health-care/dental-care/">Learn more about VA dental services</a>.</li>
              </ul>
              <div><h6>Health care priority groups</h6></div>
              <p>When you apply for VA health care, we’ll assign you 1 of 8 priority groups. This system helps to make sure that Veterans who need immediate care can get signed up quickly. We assign Veterans with service-connected disabilities the highest priority. We assign the lowest priority to Veterans who earn a higher income and who don’t have any service-connected disabilities. <a href="/health-care/eligibility/#priority-groups">Learn more about priority groups</a>.</p>
            </li>
            <li className="process-step list-two">
              <div><h5>Apply</h5></div>
              <p>Complete this health care benefits form.</p>
              <p>After submitting the form, you’ll get a confirmation message. You can print this for your records.</p>
            </li>
            <li className="process-step list-three">
              <div><h5>VA Review</h5></div>
              <p>We process health care claims within a week. If more than a week has passed since you submitted your application and you haven’t heard back, please don’t apply again. Call us at 1-877-222-VETS (<a href="tel:+18772228387">1-877-222-8387</a>).</p>
            </li>
            <li className="process-step list-four">
              <div><h5>Decision</h5></div>
              <p>Once we’ve processed your claim, you’ll get a notice in the mail with our decision.</p>
            </li>
          </ol>
        </div>
        <DowntimeNotification
          appTitle="health care application"
          render={renderDowntime}
          dependencies={[services.es]}>
          <SaveInProgressIntro
            buttonOnly
            messages={this.props.route.formConfig.savedFormMessages}
            pageList={this.props.route.pageList}
            startText="Start the Health Care Application"
            {...this.props.saveInProgressActions}
            {...this.props.saveInProgress}/>
        </DowntimeNotification>
        <div className="omb-info--container" style={{ paddingLeft: '0px' }}>
          <OMBInfo resBurden={30} ombNumber="2900-0091" expDate="05/31/2018"/>
        </div>
      </div>
    );
{'fraction_non_alphanumeric': 0.11585944919278253, 'fraction_numerical': 0.017439350772684107, 'mean_word_length': 2.6302099655280475, 'pattern_counts': {'":': 0, '<': 220, '<?xml version=': 0, '>': 220, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4224900', 'n_tokens_mistral': 3265, 'n_tokens_neox': 3058, 'n_words': 1002}