<commit_before>'use strict';

var React = require('react');

module.exports = React.createClass({
	displayName: 'Rayon',
	componentWillMount: function componentWillMount() {
		document.body.addEventListener('keyup', this.keyUp);
	},
	render: function render() {
		if (this.props.isOpen) {
			return React.createElement(
				'div',
				{ onKeyUp: this.keyUp, ref: 'parent' },
				React.createElement(
					'div',
					{ className: 'modal-spacer' },
					React.createElement(
						'div',
						{ className: 'modal' },
						this.props.children
					)
				),
				React.createElement('div', { className: 'overlay' })
			);
		} else {
			return null;
		}
	},
	keyUp: function keyUp(e) {
		if (this.props.isOpen && this.props.onClose && e.keyCode === 27) {
			this.props.onClose();
		}
	}
});<commit_msg>Rebuild<commit_after>'use strict';

var React = require('react');

module.exports = React.createClass({
	displayName: 'Rayon',
	componentWillMount: function componentWillMount() {
		document.body.addEventListener('keyup', this.keyUp);
	},
	render: function render() {
		if (this.props.isOpen) {
			return React.createElement(
				'div',
				{ onKeyUp: this.keyUp, ref: 'parent' },
				React.createElement(
					'div',
					{ className: 'rayon-spacer' },
					React.createElement(
						'div',
						{ className: 'rayon' },
						this.props.children
					)
				),
				React.createElement('div', { className: 'overlay' })
			);
		} else {
			return null;
		}
	},
	keyUp: function keyUp(e) {
		if (this.props.isOpen && this.props.onClose && e.keyCode === 27) {
			this.props.onClose();
		}
	}
});
{'fraction_non_alphanumeric': 0.16959798994974876, 'fraction_numerical': 0.002512562814070352, 'mean_word_length': 3.1592689295039165, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6458604', 'n_tokens_mistral': 660, 'n_tokens_neox': 541, 'n_words': 100}