<commit_before>import React from 'react'
import Modal from 'react-bootstrap/lib/Modal';
import Stripe from '../modules/stripe.jsx'
export default React.createClass ({

  getInitialState: function() {
      return {
          isUserSignedIn: ($('#user-logged-in').data().signedIn === true)
      };
  },


  charge: function() {
      new Stripe(45000, '$450 School Premium');
  },

  chargeOrLogin: function() {
    if (this.state.isUserSignedIn === true) {
      this.charge();
    } else {
      alert('You must be logged in to purchase Quill Premium.')
    }
  },

  render: function() {
      return (
          <Modal {...this.props} show={this.props.show} onHide={this.props.hideModal} dialogClassName='quote-request-modal'>
              <Modal.Body>
                  <h1 className='q-h2'>Receive a quote for a purchase order.</h1>
                  <a className="q-button cta-button bg-quillgreen text-white" href='https://quillpremium.wufoo.com/forms/quill-premium-quote/' target="_blank">
                    Email a Quote
                  </a>
              </Modal.Body>
              <Modal.Footer>
                <p>To pay now, please <span data-toggle="modal" onClick={this.chargeOrLogin}>click here</span>.</p>
                <p>You can also call us at 646-442-1095 </p>
              </Modal.Footer>
          </Modal>
      )
  }

});<commit_msg>Update copy with credit card<commit_after>import React from 'react'
import Modal from 'react-bootstrap/lib/Modal';
import Stripe from '../modules/stripe.jsx'
export default React.createClass ({

  getInitialState: function() {
      return {
          isUserSignedIn: ($('#user-logged-in').data().signedIn === true)
      };
  },


  charge: function() {
      new Stripe(45000, '$450 School Premium');
  },

  chargeOrLogin: function() {
    if (this.state.isUserSignedIn === true) {
      this.charge();
    } else {
      alert('You must be logged in to purchase Quill Premium.')
    }
  },

  render: function() {
      return (
          <Modal {...this.props} show={this.props.show} onHide={this.props.hideModal} dialogClassName='quote-request-modal'>
              <Modal.Body>
                  <h1 className='q-h2'>Receive a quote for a purchase order.</h1>
                  <a className="q-button cta-button bg-quillgreen text-white" href='https://quillpremium.wufoo.com/forms/quill-premium-quote/' target="_blank">
                    Email a Quote
                  </a>
              </Modal.Body>
              <Modal.Footer>
                <p>To pay now with a credit card, please <span data-toggle="modal" onClick={this.chargeOrLogin}>click here</span>.</p>
                <p>You can also call us at 646-442-1095 </p>
              </Modal.Footer>
          </Modal>
      )
  }

});
{'fraction_non_alphanumeric': 0.14584837545126353, 'fraction_numerical': 0.01516245487364621, 'mean_word_length': 2.1310734463276835, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 2, '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': '5013806', 'n_tokens_mistral': 883, 'n_tokens_neox': 824, 'n_words': 192}