<commit_before><!doctype html>

<html>
<head>
    <style>
        html,
        body
        {
            height: 100%;
            margin: 0;
            padding: 0;
            border: none;
            font-family: tahoma, verdana, arial, sans-serif;
            font-size: 14px;
            line-height: 1.6;
        }
        body
        {
            display: flex;
        }
        H1
        {
            margin: 0 0 16px;
        }
        H2
        {
            font-weight: normal;
            margin: 0;
            padding: 9px 8px 10px;
        }
        #source-block
        {
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: 8px;
            line-height: 1;
        }
        #source-wrapper
        {
            flex: 1;
            overflow: hidden;
        }
        #source
        {
            width: 100%;
            height: 100%;
            resize: none;
            margin: 0;
            padding: 4px;
            box-sizing: border-box;
            font-family: Consolas, Courier New, monospace;
            font-size: 13px;
            outline: none;
            border: 1px solid #DDD;
        }
        #result-block
        {
            width: 50%;
            display: flex;
            flex-direction: column;
        }
        #intro
        {
            font-size: 30px;
            text-align: center;
            padding: 50px;
            color: #888;
        }
        #result
        {
            display: flex;
            flex-direction: column;
            flex: 1;
        }
        #result.error
        {
            color: #D00;
        }
        #result-output
        {
            flex: 1;
            overflow: auto;
            white-space: pre;
            font-family: Consolas, Courier New, monospace;
            font-size: 13px;
            padding: 8px;
            border: 1px solid #DDD;
            margin: 0 8px 8px 0;
        }
        #result-output > :first-child
        {
            margin-bottom: 10px;
        }
        .warn
        {
            padding: 4px;
            overflow: hidden;
            overflow-x: auto;
            padding-bottom: .5em;
            margin-bottom: .5em;
        }
        .warn-type
        {
            color: #A66;
            border-bottom: 2px solid #FCC;
            font-family: Arial;
            display: inline-block;
            margin-bottom: 4px;
            line-height: 1;
        }
        .link-to-source
        {
            color: #09D;
            text-decoration: underline;
            cursor: pointer;
        }
        .link-to-source:hover
        {
            color: #A00;
        }
        #fill-issue
        {
            margin: 0px 8px 8px 0;
            font-size: 110%;
            border-left: 3px solid orange;
            padding: 8px 12px;
            background: #FED;
        }
        #well-done
        {
            margin: 0px 8px 8px 0;
            font-size: 110%;
            border-left: 3px solid #090;
            padding: 8px 12px;
            background: #EFD;
        }
    </style>
</head>
<body>
    <div id="source-block">
        <h1>CSS syntax checker</h1>
        <div id="source-wrapper">
            <textarea id="source" placeholder="Enter your CSS here"></textarea>
        </div>
    </div>
    <div id="result-block">
        <div id="intro">
            Show me your CSS and I'll tell you what I know about it 😎
        </div>
        <div id="result" style="display: none">
            <h2 id="result-header"></h2>
            <div id="result-output"></div>
        </div>
        <div id="fill-issue" style="display: none">
            I found some problems with your CSS. It might be because <a href="syntax.html" target="_blank">my knowledge about CSS syntax</a> is wrong or incomplete. In this case, please <a href="https://github.com/csstree/csstree/issues/new" target="_blank">fill an issue</a>.<br>
            Thank you!
        </div>
        <div id="well-done" style="display: none">
            No problems found. Your CSS looks valid. Well done!
        </div>
    </div>

    <script src="../dist/csstree.js"></script>
    <script>
        /* eslint-env browser */
        /* global csstree */
        function repeat(str, times) {<commit_msg>switch off everything on source texture to perform better<commit_after><!doctype html>

<html>
<head>
    <style>
        html,
        body
        {
            height: 100%;
            margin: 0;
            padding: 0;
            border: none;
            font-family: tahoma, verdana, arial, sans-serif;
            font-size: 14px;
            line-height: 1.6;
        }
        body
        {
            display: flex;
        }
        H1
        {
            margin: 0 0 16px;
        }
        H2
        {
            font-weight: normal;
            margin: 0;
            padding: 9px 8px 10px;
        }
        #source-block
        {
            flex: 1;
            display: flex;
            flex-direction: column;
            padding: 8px;
            line-height: 1;
        }
        #source-wrapper
        {
            flex: 1;
            overflow: hidden;
        }
        #source
        {
            width: 100%;
            height: 100%;
            resize: none;
            margin: 0;
            padding: 4px;
            box-sizing: border-box;
            font-family: Consolas, Courier New, monospace;
            font-size: 13px;
            outline: none;
            border: 1px solid #DDD;
        }
        #result-block
        {
            width: 50%;
            display: flex;
            flex-direction: column;
        }
        #intro
        {
            font-size: 30px;
            text-align: center;
            padding: 50px;
            color: #888;
        }
        #result
        {
            display: flex;
            flex-direction: column;
            flex: 1;
        }
        #result.error
        {
            color: #D00;
        }
        #result-output
        {
            flex: 1;
            overflow: auto;
            white-space: pre;
            font-family: Consolas, Courier New, monospace;
            font-size: 13px;
            padding: 8px;
            border: 1px solid #DDD;
            margin: 0 8px 8px 0;
        }
        #result-output > :first-child
        {
            margin-bottom: 10px;
        }
        .warn
        {
            padding: 4px;
            overflow: hidden;
            overflow-x: auto;
            padding-bottom: .5em;
            margin-bottom: .5em;
        }
        .warn-type
        {
            color: #A66;
            border-bottom: 2px solid #FCC;
            font-family: Arial;
            display: inline-block;
            margin-bottom: 4px;
            line-height: 1;
        }
        .link-to-source
        {
            color: #09D;
            text-decoration: underline;
            cursor: pointer;
        }
        .link-to-source:hover
        {
            color: #A00;
        }
        #fill-issue
        {
            margin: 0px 8px 8px 0;
            font-size: 110%;
            border-left: 3px solid orange;
            padding: 8px 12px;
            background: #FED;
        }
        #well-done
        {
            margin: 0px 8px 8px 0;
            font-size: 110%;
            border-left: 3px solid #090;
            padding: 8px 12px;
            background: #EFD;
        }
    </style>
</head>
<body>
    <div id="source-block">
        <h1>CSS syntax checker</h1>
        <div id="source-wrapper">
            <textarea id="source" placeholder="Enter your CSS here" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"></textarea>
        </div>
    </div>
    <div id="result-block">
        <div id="intro">
            Show me your CSS and I'll tell you what I know about it 😎
        </div>
        <div id="result" style="display: none">
            <h2 id="result-header"></h2>
            <div id="result-output"></div>
        </div>
        <div id="fill-issue" style="display: none">
            I found some problems with your CSS. It might be because <a href="syntax.html" target="_blank">my knowledge about CSS syntax</a> is wrong or incomplete. In this case, please <a href="https://github.com/csstree/csstree/issues/new" target="_blank">fill an issue</a>.<br>
            Thank you!
        </div>
        <div id="well-done" style="display: none">
            No problems found. Your CSS looks valid. Well done!
        </div>
    </div>

    <script src="../dist/csstree.js"></script>
    <script>
        /* eslint-env browser */
        /* global csstree */
        function repeat(str, times) {
{'fraction_non_alphanumeric': 0.11056313797453836, 'fraction_numerical': 0.022709026264479872, 'mean_word_length': 1.1294261294261294, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 79, 'https://': 2, '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': '7616693', 'n_tokens_mistral': 2679, 'n_tokens_neox': 2481, 'n_words': 646}