text: 
  const React =                     require('react');
  const PropTypes =                 require('prop-types');
  const DefaultLayout =             require('./layouts/default');
  const Main =                      require('./main');
  const objectWithoutProperties =   require('../lib/utils').objectWithoutProperties;
  const Context =                   require('../lib/utils').CONTEXT
  
  class Application extends React.Component {
    render() {
      const props = objectWithoutProperties(this.props, ['settings', '_locals', 'cache']);
      props.CONTEXT = Context      // pass in the web page title
  
      return (
        <DefaultLayout
          title={props.title}
          CONTEXT={props.CONTEXT}
          initialData={JSON.stringify(props)}
          hideHeader={Boolean(props.searchQuery)}
        >
          <Main {...props} />
        </DefaultLayout>
      );
    }
  }
  
  Application.propTypes = {
    searchQuery: PropTypes.string,
  };
  
  module.exports = Application;
  