<commit_before><link rel="import" href="/bower_components/polymer/polymer.html">
<link rel="import" href="/bower_components/paper-card/paper-card.html">
<link rel="import" href="/bower_components/paper-input/paper-input.html">
<link rel="import" href="/bower_components/paper-material/paper-material.html">
<link rel="import" href="/bower_components/paper-badge/paper-badge.html">
<link rel="import" href="/bower_components/iron-a11y-keys/iron-a11y-keys.html">
<link rel="import" href="/components/x-video.html">
<dom-module id="random-room">
    <template>
        <style>
            paper-button {
                background-color: var(--google-green-500);
                color: white;
                --paper-button-raised-keyboard-focus: {
                    background-color: var(--google-yellow-300) !important;
                    color: white !important;
                };
                --paper-button-disabled: {
                    background-color: var(--google-grey-300) !important;
                    color: black !important;
                };
            }
            paper-badge {
                --paper-badge-background: var(--google-green-500);
            }
        </style>
        <div class="lt-container lt-lg-h-3 lt-md-h-3 lt-sm-h-4 lt-xs-h-5">
            <div class="lt
                lt-lg-x-0 lt-lg-y-0 lt-lg-w-1 lt-lg-h-1
                lt-md-x-0 lt-md-y-0 lt-md-w-1 lt-md-h-1
                lt-sm-x-0 lt-sm-y-0 lt-sm-w-1 lt-sm-h-1
                lt-xs-x-0 lt-xs-y-0 lt-xs-w-1 lt-xs-h-1">
                <div class="lt-body" style="text-align:center;">
                    <x-video id="you"></x-video>
                </div>
            </div>
            <div class="lt
                lt-lg-x-0 lt-lg-y-1 lt-lg-w-1 lt-lg-h-1
                lt-md-x-0 lt-md-y-1 lt-md-w-1 lt-md-h-1
                lt-sm-x-0 lt-sm-y-1 lt-sm-w-1 lt-sm-h-1
                lt-xs-x-0 lt-xs-y-1 lt-xs-w-1 lt-xs-h-1">
                <div class="lt-body" style="text-align:center;">
                    <x-video id="me"></x-video>
                </div>
            </div>
            <div class="lt
                lt-lg-x-0 lt-lg-y-2 lt-lg-w-1 lt-lg-h-1
                lt-md-x-0 lt-md-y-2 lt-md-w-1 lt-md-h-1
                lt-sm-x-0 lt-sm-y-2 lt-sm-w-1 lt-sm-h-1
                lt-xs-x-0 lt-xs-y-2 lt-xs-w-1 lt-xs-h-1">
                <div class="lt-body">
                    <div style="text-align:center;padding-top:19%;">
                    <paper-button id="start" disabled raised on-click="start">[[lang('start')]]</paper-button>
                    <paper-button id="next" disabled raised on-click="next">[[lang('next')]]</paper-button>
                    <paper-button id="stop" disabled raised on-click="stop">[[lang('stop')]]</paper-button>
                    <br/>
                    <br/>
                    <paper-button id="leave" raised on-click="leave">[[lang('leave')]]</paper-button>
                    </div>
                </div>
            </div>
            <div class="lt
                lt-lg-x-1 lt-lg-y-0 lt-lg-w-2 lt-lg-h-3
                lt-md-x-1 lt-md-y-0 lt-md-w-1 lt-md-h-3
                lt-sm-x-1 lt-sm-y-0 lt-sm-w-1 lt-sm-h-3
                lt-xs-x-0 lt-xs-y-3 lt-xs-w-1 lt-xs-h-1">
                <div class="lt-body">
                    <paper-material id="chat" style="width:100%;height:91%;padding:0px 5px 5px 5px;display:block;overflow-y:auto;"></paper-material>
                    <paper-input placeholder="[[lang('send_message')]]" disabled id="input"></paper-input>
                </div>
            </div>
            <div class="lt
                lt-lg-x-3 lt-lg-y-0 lt-lg-w-1 lt-lg-h-3
                lt-md-x-2 lt-md-y-0 lt-md-w-1 lt-md-h-3
                lt-sm-x-0 lt-sm-y-3 lt-sm-w-2 lt-sm-h-1
                lt-xs-x-0 lt-xs-y-4 lt-xs-w-1 lt-xs-h-1">
                <div class="lt-body">
                    <div style="text-align:center;padding-top:19%;">
                        [[lang('online_number')]]:
                        <paper-icon-button title="[[lang('online_number')]]" id="number" icon="account-box" alt="person">
                        </paper-icon-button>
                        <paper-badge for="number" label="0" id="online">
                        </paper-badge>
                    </div>
                </div>
            </div>
        </div>
        <iron-a11y-keys id="a11y" target="[[target]]" keys="enter"
                            on-keys-pressed="send"></iron-a11y-keys>
    </template>
    <script>
        Polymer({
            is: "random-room",
            properties: {
                me: {
                    type: String
                },
                leaveToNext: {
                    type: Boolean,
                    value: false
                },
                room: {
                    type: Object
                },
                lastShow: {
                    type: String
                },
                target: {
                    type: Object,
                    value: function() {
                        return this.$.input;
                    }
                }
            }, 
            ready: function(){<commit_msg>add joke on random page<commit_after><link rel="import" href="/bower_components/polymer/polymer.html">
<link rel="import" href="/bower_components/paper-card/paper-card.html">
<link rel="import" href="/bower_components/paper-input/paper-input.html">
<link rel="import" href="/bower_components/paper-material/paper-material.html">
<link rel="import" href="/bower_components/paper-badge/paper-badge.html">
<link rel="import" href="/bower_components/iron-a11y-keys/iron-a11y-keys.html">
<link rel="import" href="/components/x-video.html">
<dom-module id="random-room">
    <template>
        <style>
            paper-button {
                background-color: var(--google-green-500);
                color: white;
                --paper-button-raised-keyboard-focus: {
                    background-color: var(--google-yellow-300) !important;
                    color: white !important;
                };
                --paper-button-disabled: {
                    background-color: var(--google-grey-300) !important;
                    color: black !important;
                };
            }
            paper-badge {
                --paper-badge-background: var(--google-green-500);
            }
        </style>
        <div class="lt-container lt-lg-h-3 lt-md-h-3 lt-sm-h-4 lt-xs-h-5">
            <div class="lt
                lt-lg-x-0 lt-lg-y-0 lt-lg-w-1 lt-lg-h-1
                lt-md-x-0 lt-md-y-0 lt-md-w-1 lt-md-h-1
                lt-sm-x-0 lt-sm-y-0 lt-sm-w-1 lt-sm-h-1
                lt-xs-x-0 lt-xs-y-0 lt-xs-w-1 lt-xs-h-1">
                <div class="lt-body" style="text-align:center;">
                    <x-video id="you"></x-video>
                </div>
            </div>
            <div class="lt
                lt-lg-x-0 lt-lg-y-1 lt-lg-w-1 lt-lg-h-1
                lt-md-x-0 lt-md-y-1 lt-md-w-1 lt-md-h-1
                lt-sm-x-0 lt-sm-y-1 lt-sm-w-1 lt-sm-h-1
                lt-xs-x-0 lt-xs-y-1 lt-xs-w-1 lt-xs-h-1">
                <div class="lt-body" style="text-align:center;">
                    <x-video id="me"></x-video>
                </div>
            </div>
            <div class="lt
                lt-lg-x-0 lt-lg-y-2 lt-lg-w-1 lt-lg-h-1
                lt-md-x-0 lt-md-y-2 lt-md-w-1 lt-md-h-1
                lt-sm-x-0 lt-sm-y-2 lt-sm-w-1 lt-sm-h-1
                lt-xs-x-0 lt-xs-y-2 lt-xs-w-1 lt-xs-h-1">
                <div class="lt-body">
                    <div style="text-align:center;padding-top:19%;">
                    <paper-button id="start" disabled raised on-click="start">[[lang('start')]]</paper-button>
                    <paper-button id="next" disabled raised on-click="next">[[lang('next')]]</paper-button>
                    <paper-button id="stop" disabled raised on-click="stop">[[lang('stop')]]</paper-button>
                    <br/>
                    <br/>
                    <paper-button id="leave" raised on-click="leave">[[lang('leave')]]</paper-button>
                    </div>
                </div>
            </div>
            <div class="lt
                lt-lg-x-1 lt-lg-y-0 lt-lg-w-2 lt-lg-h-3
                lt-md-x-1 lt-md-y-0 lt-md-w-1 lt-md-h-3
                lt-sm-x-1 lt-sm-y-0 lt-sm-w-1 lt-sm-h-3
                lt-xs-x-0 lt-xs-y-3 lt-xs-w-1 lt-xs-h-1">
                <div class="lt-body">
                    <paper-material id="chat" style="width:100%;height:91%;padding:0px 5px 5px 5px;display:block;overflow-y:auto;"></paper-material>
                    <paper-input placeholder="[[lang('send_message')]]" disabled id="input"></paper-input>
                </div>
            </div>
            <div class="lt
                lt-lg-x-3 lt-lg-y-0 lt-lg-w-1 lt-lg-h-3
                lt-md-x-2 lt-md-y-0 lt-md-w-1 lt-md-h-3
                lt-sm-x-0 lt-sm-y-3 lt-sm-w-2 lt-sm-h-1
                lt-xs-x-0 lt-xs-y-4 lt-xs-w-1 lt-xs-h-1">
                <div class="lt-body">
                    <!--
                    <div style="text-align:center;padding-top:19%;">
                        [[lang('online_number')]]:
                        <paper-icon-button title="[[lang('online_number')]]" id="number" icon="account-box" alt="person">
                        </paper-icon-button>
                        <paper-badge for="number" label="0" id="online">
                        </paper-badge>
                    </div>
                    -->
                    <iframe src="https://writing.txthinking.com/bu_wu_liao/image-message.html" style="width:100%;height:100%; border:none;"></iframe>
                </div>
            </div>
        </div>
        <iron-a11y-keys id="a11y" target="[[target]]" keys="enter"
                            on-keys-pressed="send"></iron-a11y-keys>
    </template>
    <script>
        Polymer({
            is: "random-room",
            properties: {
                me: {
                    type: String
                },
                leaveToNext: {
                    type: Boolean,
                    value: false
                },
                room: {
                    type: Object
                },
                lastShow: {
                    type: String
                },
                target: {
                    type: Object,
                    value: function() {
                        return this.$.input;
                    }
                }
            }, 
            ready: function(){
{'fraction_non_alphanumeric': 0.1679079852927312, 'fraction_numerical': 0.023192231545205996, 'mean_word_length': 1.1702127659574468, 'pattern_counts': {'":': 0, '<': 132, '<?xml version=': 0, '>': 132, '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': '1061233', 'n_tokens_mistral': 3789, 'n_tokens_neox': 3393, 'n_words': 515}