<commit_before>import { h, VTree } from '../../framework/view';
import htmlescape from 'htmlescape';

import { State } from '../models/state';
import renderApp from '../views/app';

export default function render(state: State, helpers: any): VTree {
  return h('html', [
    h('head', [
      h('title', ['rally-rxjs']),
      h('link', { rel: 'stylesheet', href: '/styles/index.css' }, []),
      h('script', ['var INITIAL_STATE = ' + htmlescape(state) + ';'])<commit_msg>add script element for google maps<commit_after>import { h, VTree } from '../../framework/view';
import htmlescape from 'htmlescape';

import { State } from '../models/state';
import renderApp from '../views/app';

export default function render(state: State, helpers: any): VTree {
  return h('html', [
    h('head', [
      h('title', ['rally-rxjs']),
      h('link', { rel: 'stylesheet', href: '/styles/index.css' }, []),
      h('script', ['var INITIAL_STATE = ' + htmlescape(state) + ';']),
      h('script', {
        src: 'https://maps.googleapis.com/maps/api/js?key=' + state.googleApiKey
      }, [])
{'fraction_non_alphanumeric': 0.21072088724584104, 'fraction_numerical': 0.0, 'mean_word_length': 3.5504201680672267, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '1417740', 'n_tokens_mistral': 363, 'n_tokens_neox': 361, 'n_words': 87}