<commit_before>const React = require('react');
const ReactDOM = require('react-dom');

const IdyllDocument = require('idyll-document').default;
const mountNode = document.getElementById('idyll-mount');

const ast = require('__IDYLL_AST__');
const components = require('__IDYLL_COMPONENTS__');
const datasets = require('__IDYLL_DATA__');
require('__IDYLL_SYNTAX_HIGHLIGHT__');

const opts = require('__IDYLL_OPTS__');
const { layout, theme } = opts;

const context = require('__IDYLL_CONTEXT__');

const mountMethod = opts.ssr ? 'hydrate' : 'render';
ReactDOM[mountMethod](
  React.createElement(IdyllDocument, { ast, components, context, datasets, layout, theme }),
  mountNode
);<commit_msg>fix minification<commit_after>/**
 * NOTE - this file does not get compiled from
 * ES6 --> ES5. Everything in here should be
 * standards compliant old-school JavaScript, with
 * the exception of the require() function.
 */

var React = require('react');
var ReactDOM = require('react-dom');

var IdyllDocument = require('idyll-document').default;
var mountNode = document.getElementById('idyll-mount');

var ast = require('__IDYLL_AST__');
var components = require('__IDYLL_COMPONENTS__');
var datasets = require('__IDYLL_DATA__');
require('__IDYLL_SYNTAX_HIGHLIGHT__');

var opts = require('__IDYLL_OPTS__');
var layout = opts.layout;
var theme = opts.theme;

var context = require('__IDYLL_CONTEXT__');

var mountMethod = opts.ssr ? 'hydrate' : 'render';
ReactDOM[mountMethod](
  React.createElement(IdyllDocument, { ast, components, context, datasets, layout, theme }),
  mountNode
);
{'fraction_non_alphanumeric': 0.1366223908918406, 'fraction_numerical': 0.001265022137887413, 'mean_word_length': 6.497630331753554, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '6424085', 'n_tokens_mistral': 497, 'n_tokens_neox': 495, 'n_words': 122}