<commit_before><html xmlns:t="http://twistedmatrix.com/ns/twisted.web.template/0.1" t:render="chat">
<script><t:attr name='src'><t:slot name='xmpp'/></t:attr></script>
<script><t:attr name='src'><t:slot name='ime'/></t:attr></script>
<script><t:attr name='src'><t:slot name='caret'/></t:attr></script>
<link rel="stylesheet"><t:attr name='href'><t:slot name='imecss'/></t:attr></link>

<div id="err"></div>

<div id="login_pane">
    <form name="loginForm" id="loginForm">
        <input type="hidden" name="server" id="server" tabindex="3"><t:attr name="value"><t:slot name="server"/></t:attr></input>
        <input type="hidden" name="domain" id="domain" tabindex="4"><t:attr name="value"><t:slot name="domain"/></t:attr></input>
        <input type="hidden" name="username" id="username" tabindex="5"><t:attr name='value'><t:slot name='username'/></t:attr></input>
        <input type="hidden" name="password" id="password" tabindex="6"><t:attr name='value'><t:slot name='temp_jabber_pw'/></t:attr></input>
      <h4><t:slot name="spinner"/>&#160;<t:slot name='loading'/>...</h4>
    </form>
</div>

<div id="sendmsg_pane" style="display:none;">
    <t:slot name="incoming"/>
    <div style='height: 35%; overflow-y: auto; border: 1px solid black' id="iResp"></div>
    <div style='height: 5%; border: 1px solid black' id="iStatus"></div>
    <h4><t:slot name="sendmsg"/></h4>
    <form id='sendForm' name="sendForm" onSubmit="return sendMsg(this);" action="#">
         <div id='instantspin' style='display: none'><t:slot name="spinner"/><b>&#160;<t:slot name='performingtranslation'/></b></div>
        <div class="spaced">
            <b><t:slot name='to'/>:</b>
            <input type="text" name="sendTo" tabindex="1" value='还在<EMAIL>'/>
            <t:slot name="chatlangtype"/>? <select id='chattextlanguage' name="languagetype" t:render="languages"/>
            <!--
            <input type="text" name="sendTo" tabindex="1" value='<EMAIL>'/>
            -->
	     <button type='button' class='btn btn-default' href='#'><t:attr name='title'><t:slot name='processinstanttitle'/></t:attr><t:attr name='onclick'><t:slot name='processinstant'/></t:attr><i class='glyphicon glyphicon-share'></i></button>
        </div>
        <div class="spaced">
            <textarea style='margin-bottom: 120px' name="msg" id='msgArea' rows="1" cols="80" tabindex="2"></textarea>
        </div>
        <br/><br/>
	<!--
        <div class="spaced">
            <input type="submit" value="Send" tabindex="3" onclick="appendChat('me', $('#msgArea').val())"/>
            *<commit_msg>basic infrastructure for testing chat with public chat server<commit_after><html xmlns:t="http://twistedmatrix.com/ns/twisted.web.template/0.1" t:render="chat">
<script><t:attr name='src'><t:slot name='xmpp'/></t:attr></script>
<script><t:attr name='src'><t:slot name='ime'/></t:attr></script>
<script><t:attr name='src'><t:slot name='caret'/></t:attr></script>
<link rel="stylesheet"><t:attr name='href'><t:slot name='imecss'/></t:attr></link>

<div id="err"></div>

<div id="login_pane">
    <form name="loginForm" id="loginForm">
        <input type="hidden" name="server" id="server" tabindex="3"><t:attr name="value"><t:slot name="server"/></t:attr></input>
        <input type="hidden" name="domain" id="domain" tabindex="4"><t:attr name="value"><t:slot name="domain"/></t:attr></input>
        <input type="hidden" name="username" id="username" tabindex="5"><t:attr name='value'><t:slot name='username'/></t:attr></input>
        <input type="hidden" name="password" id="password" tabindex="6"><t:attr name='value'><t:slot name='temp_jabber_pw'/></t:attr></input>
      <h4><t:slot name="spinner"/>&#160;<t:slot name='loading'/>...</h4>
    </form>
</div>

<div id="sendmsg_pane" style="display:none;">
    <t:slot name="incoming"/>
    <div style='height: 35%; overflow-y: auto; border: 1px solid black' id="iResp"></div>
    <div style='height: 5%; border: 1px solid black' id="iStatus"></div>
    <h4><t:slot name="sendmsg"/></h4>
    <form id='sendForm' name="sendForm" onSubmit="return sendMsg(this);" action="#">
         <div id='instantspin' style='display: none'><t:slot name="spinner"/><b>&#160;<t:slot name='performingtranslation'/></b></div>
        <div class="spaced">
            <b><t:slot name='to'/>:</b>
            <input type="text" name="sendTo" tabindex="1" value=''/>
            <t:slot name="chatlangtype"/>? <select id='chattextlanguage' name="languagetype" t:render="languages"/>
            <!--
            <input type="text" name="sendTo" tabindex="1" value='还在<EMAIL>'/>
            <input type="text" name="sendTo" tabindex="1" value='<EMAIL>'/>
            -->
	     <button type='button' class='btn btn-default' href='#'><t:attr name='title'><t:slot name='processinstanttitle'/></t:attr><t:attr name='onclick'><t:slot name='processinstant'/></t:attr><i class='glyphicon glyphicon-share'></i></button>
        </div>
        <div class="spaced">
            <textarea style='margin-bottom: 120px' name="msg" id='msgArea' rows="1" cols="80" tabindex="2"></textarea>
        </div>
        <br/><br/>
	<!--
        <div class="spaced">
            <input type="submit" value="Send" tabindex="3" onclick="appendChat('me', $('#msgArea').val())"/>
            *
{'fraction_non_alphanumeric': 0.24388857305287096, 'fraction_numerical': 0.011938601478112564, 'mean_word_length': 4.469430051813472, 'pattern_counts': {'":': 0, '<': 200, '<?xml version=': 0, '>': 198, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1427380', 'n_tokens_mistral': 1863, 'n_tokens_neox': 1788, 'n_words': 303}