<commit_before><%- alchemy_assets_set(:sitemap) -%>

<%- content_for :toolbar do -%>
<div id="toolbar">
    <div id="toolbar_buttons">
        <div class="button_with_label">
            <%= alchemy_selectbox_tag(
                'language',
                configuration(:languages).collect { |l| [
                    l[:language],
                    l[:language_code]
                ] },
                session[:language],
                :onchange => %(
                    new Ajax.Request('/admin/pages/switch_language', {
                        method: 'get',
                        parameters: {language: value}
                    });
                )
            ) %>
            <label><%= _("language") %></label>
        </div>
        <%- permitted_to?(:flush, :admin_pages) do -%><commit_msg>displaying pleaseWaitOverlay after language switch selectbox<commit_after><%- alchemy_assets_set(:sitemap) -%>

<%- content_for :toolbar do -%>
<div id="toolbar">
    <div id="toolbar_buttons">
        <div class="button_with_label">
            <%= alchemy_selectbox_tag(
                'language',
                configuration(:languages).collect { |l| [
                    l[:language],
                    l[:language_code]
                ] },
                session[:language],
                :onchange => %(
                    pleaseWaitOverlay();
                    new Ajax.Request('/admin/pages/switch_language', {
                        method: 'get',
                        parameters: {language: value}
                    });
                )
            ) %>
            <label><%= _("language") %></label>
        </div>
        <%- permitted_to?(:flush, :admin_pages) do -%>
{'fraction_non_alphanumeric': 0.14294049008168028, 'fraction_numerical': 0.0, 'mean_word_length': 1.3525377229080933, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 27, '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': '6343988', 'n_tokens_mistral': 474, 'n_tokens_neox': 432, 'n_words': 72}