<commit_before><!--
  Copyright 2016 The AMP HTML Authors. All Rights Reserved.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS-IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the license.
-->
<!-- The main contents of the page, which instantiates the
     custom elements defined in the other files. -->
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="../ampproject-toolbar/ampproject-toolbar.html">
<link rel="import" href="../amphtml-editor/amphtml-editor.html">
<link rel="import" href="../webui-statusbar/webui-statusbar.html">
<link rel="import" href="../webui-errorlist/webui-errorlist.html">
<link rel="import" href="../webui-urlform/webui-urlform.html">
<dom-module id="webui-mainpage">
  <template>
    <ampproject-toolbar></ampproject-toolbar>
    <webui-urlform id="urlForm"></webui-urlform>
    <amphtml-editor id="amphtmlEditor"></amphtml-editor>
    <webui-statusbar id="statusBar"></webui-statusbar>
    <webui-errorlist id="errorListBox"></webui-errorlist>
  </template>
  <script>
    var minimumValidAmp =
      '\x3C!--\n' +
      '     This is the minimum valid AMP HTML document. Just type away\n' +
      '     here and the AMP Validator will re-check your document on the fly.\n' +
      '-->\n' +
      '\x3C!doctype html>\n' +
      '\x3Chtml ⚡>\n' +
      '\x3Chead>\n' +
      '  \x3Cmeta charset="utf-8">\n' +
      '  \x3Clink rel="canonical" href="self.html" />\n' +
      '  \x3Cmeta name="viewport" content="width=device-width,minimum-scale=1">\n' +
      '  \x3Cstyle amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}\x3C/style>\x3Cnoscript>\x3Cstyle amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}\x3C/style>\x3C/noscript>\n' +
      '  \x3Cscript async src="https://cdn.ampproject.org/v0.js">\x3C/script>\n' +
      '\x3C/head>\n' +
      '\x3Cbody>Hello, AMP world.\x3C/body>\n' +
      '\x3C/html>\n';

    var minimumValidAmp4Ads =
      '\x3C!--\n' +
      '     AMP4ADS is a format for ads that is similar to the AMP format for web documents.\n' +
      '     This is a work in progress (https://github.com/ampproject/amphtml/blob/master/extensions/amp-a4a/amp-a4a-format.md).\n' +
      '     If you\'re looking for currently supported ad formats and providers for AMP pages,\n' +
      '     see https://www.ampproject.org/docs/reference/components/amp-ad instead.\n' +
      '\n' +
      '     Below is the minimum valid AMP4ADS document. Just type away\n' +
      '     here and the AMP Validator will re-check your document on the fly.\n' +
      '-->\n' +
      '\x3C!doctype html>\n' +
      '\x3Chtml ⚡4ads>\n' +
      '\x3Chead>\n' +
      '  \x3Cmeta charset="utf-8">\n' +
      '  \x3Cmeta name="viewport" content="width=device-width,minimum-scale=1">\n' +
      '  \x3Cstyle amp4ads-boilerplate>body{visibility:hidden}\x3C/style>\n' +
      '  \x3Cscript async src="https://cdn.ampproject.org/v0.js">\x3C/script>\n' +
      '\x3C/head>\n' +
      '\x3Cbody>Hello, AMP4ADS world.\x3C/body>\n' +
      '\x3C/html>\n';

    Polymer({
      is: 'webui-mainpage',
      ready: function() {<commit_msg>Update AMP4ADS start document for validator.ampproject.org. (#8769)<commit_after><!--
  Copyright 2016 The AMP HTML Authors. All Rights Reserved.

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS-IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the license.
-->
<!-- The main contents of the page, which instantiates the
     custom elements defined in the other files. -->
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="../ampproject-toolbar/ampproject-toolbar.html">
<link rel="import" href="../amphtml-editor/amphtml-editor.html">
<link rel="import" href="../webui-statusbar/webui-statusbar.html">
<link rel="import" href="../webui-errorlist/webui-errorlist.html">
<link rel="import" href="../webui-urlform/webui-urlform.html">
<dom-module id="webui-mainpage">
  <template>
    <ampproject-toolbar></ampproject-toolbar>
    <webui-urlform id="urlForm"></webui-urlform>
    <amphtml-editor id="amphtmlEditor"></amphtml-editor>
    <webui-statusbar id="statusBar"></webui-statusbar>
    <webui-errorlist id="errorListBox"></webui-errorlist>
  </template>
  <script>
    var minimumValidAmp =
      '\x3C!--\n' +
      '     This is the minimum valid AMP HTML document. Just type away\n' +
      '     here and the AMP Validator will re-check your document on the fly.\n' +
      '-->\n' +
      '\x3C!doctype html>\n' +
      '\x3Chtml ⚡>\n' +
      '\x3Chead>\n' +
      '  \x3Cmeta charset="utf-8">\n' +
      '  \x3Clink rel="canonical" href="self.html" />\n' +
      '  \x3Cmeta name="viewport" content="width=device-width,minimum-scale=1">\n' +
      '  \x3Cstyle amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}\x3C/style>\x3Cnoscript>\x3Cstyle amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}\x3C/style>\x3C/noscript>\n' +
      '  \x3Cscript async src="https://cdn.ampproject.org/v0.js">\x3C/script>\n' +
      '\x3C/head>\n' +
      '\x3Cbody>Hello, AMP world.\x3C/body>\n' +
      '\x3C/html>\n';

    var minimumValidAmp4Ads =
      '\x3C!--\n' +
      '     AMP4ADS is a format for ads that is similar to the AMP format for web documents.\n' +
      '     This is a work in progress (https://github.com/ampproject/amphtml/blob/master/extensions/amp-a4a/amp-a4a-format.md).\n' +
      '     If you\'re looking for currently supported ad formats and providers for AMP pages,\n' +
      '     see https://www.ampproject.org/docs/reference/components/amp-ad instead.\n' +
      '\n' +
      '     Below is the minimum valid AMP4ADS document. Just type away\n' +
      '     here and the AMP Validator will re-check your document on the fly.\n' +
      '-->\n' +
      '\x3C!doctype html>\n' +
      '\x3Chtml ⚡4ads>\n' +
      '\x3Chead>\n' +
      '  \x3Cmeta charset="utf-8">\n' +
      '  \x3Cmeta name="viewport" content="width=device-width,minimum-scale=1">\n' +
      '  \x3Cstyle amp4ads-boilerplate>body{visibility:hidden}\x3C/style>\n' +
      '  \x3Cscript async src="https://cdn.ampproject.org/amp4ads-v0.js">\x3C/script>\n' +
      '\x3C/head>\n' +
      '\x3Cbody>Hello, AMP4ADS world.\x3C/body>\n' +
      '\x3C/html>\n';

    Polymer({
      is: 'webui-mainpage',
      ready: function() {
{'fraction_non_alphanumeric': 0.15860990860990862, 'fraction_numerical': 0.017797017797017797, 'mean_word_length': 3.3250130005200207, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 113, 'https://': 8, 'lorem ipsum': 0, 'www.': 4, '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': '5525265', 'n_tokens_mistral': 2980, 'n_tokens_neox': 2847, 'n_words': 620}