<commit_before><div class="flag-selector-widget" style="display:inline-block"> 
    <button type="button" class="btn flag-list-toggle">
        <span class="flag16 "> </span>
        <span class="caret"></span>
    </button>
    <ul class="dropdown-menu zipcode flag-list" style="display:none">
        {% for _list in countryList %}
            <li data-abbr="{{ _list.abbr | lower }}" data-code="{{ _list.code }}">
                <span class="flag16 {{ _list.abbr | lower }}"></span><span class="code">{{ _list.name }} (+{{ _list.code }})</span>
            </li>
        {% endfor %}
    </ul>
</div>


{% if loadJs %}

{% block inlineJavascriptCode %}
<script type="text/javascript">
(function($){
    $(function(){
        console.log('loadFlagWidgetJs'); 
    	var countryCodes = [];
        var flagList = $('.flag-selector-widget:first').find('.flag-list > li');
    	
    	$.each(flagList, function(){
    		countryCodes.push($(this).attr('data-code'));
        });

	    $('.flag-selector-widget > .flag-list-toggle').click(function(){
    	    $(this).next().toggle();<commit_msg>added condition for contact number abbr<commit_after><div class="flag-selector-widget" style="display:inline-block"> 
    <button type="button" class="btn flag-list-toggle">
        <span class="flag16 "> </span>
        <span class="caret"></span>
    </button>
    <ul class="dropdown-menu zipcode flag-list" style="display:none">
        {% for _list in countryList %}
            <li data-abbr="{{ _list.abbr is defined ? _list.abbr  : 'ph' | lower }}" data-code="{{ _list.code }}">
                <span class="flag16 {{ _list.abbr is defined ? _list.abbr : 'ph' | lower }}"></span><span class="code">{{ _list.name }} (+{{ _list.code }})</span>
            </li>
        {% endfor %}
    </ul>
</div>


{% if loadJs %}

{% block inlineJavascriptCode %}
<script type="text/javascript">
(function($){
    $(function(){
        console.log('loadFlagWidgetJs'); 
    	var countryCodes = [];
        var flagList = $('.flag-selector-widget:first').find('.flag-list > li');
    	
    	$.each(flagList, function(){
    		countryCodes.push($(this).attr('data-code'));
        });

	    $('.flag-selector-widget > .flag-list-toggle').click(function(){
    	    $(this).next().toggle();
{'fraction_non_alphanumeric': 0.20765508139023317, 'fraction_numerical': 0.0035195776506819184, 'mean_word_length': 2.860780984719864, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 41, 'https://': 0, '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': '6650705', 'n_tokens_mistral': 740, 'n_tokens_neox': 705, 'n_words': 136}