<commit_before><div id="leftcolumn" ng-controller="Umbraco.NavigationController"
    ng-mouseleave="leaveTree($event)" ng-mouseenter="enterTree($event)">

    <umb-sections sections="sections" ng-if="authenticated">
    </umb-sections>

    <!-- navigation container -->
    <div id="navigation" ng-show="showNavigation" class="fill umb-modalcolumn" ng-animate="'slide'" nav-resize>

        <div ng-swipe-left="nav.hideNavigation()" class="navigation-inner-container span6">

            <!-- the search -->
            <div ng-controller="Umbraco.SearchController" ng-if="authenticated">

                <!-- Search form -->
                <div id="search-form">
                    <div class="umb-modalcolumn-header">

                        <form class="form-search" novalidate>
                            <i class="icon-search"></i>
                            <input type="text"
                                hotkey="ctrl+space"
                                id="search-field"
                                ng-model="searchTerm"
                                class="umb-search-field search-query search-input"
                                localize="placeholder"
                                placeholder="@placeholders_search"
                                ng-keydown="navigateResults($event)"/>
                        </form>
                    </div>
                </div>

                <!-- Search results -->
                <div id="search-results" class="umb-modalcolumn-body" ng-show="showSearchResults">

                    <ul class="umb-tree">
                        <li class="root">
                            <div>
                                <h5 class="umb-tree-header"><localize key="general_searchResults">Search results</localize></h5>
                            </div>

                            <ul class="umb-search-group" ng-repeat="group in groups">
                                <li ng-repeat="result in group.results" ng-class="{'current':selectedItem == result}">
                                    <div class="umb-search-group-item">
                                        <a class="umb-search-group-item-link" ng-class="{'first':$first}" ng-click="searchHide()" ng-href="#/{{result.editorPath}}">

                                            <div class="umb-search-group-item-name">
                                                <i class="icon umb-tree-icon sprTree {{result.icon}}"></i>
                                                {{result.name}}
                                            </div>

                                            <small class="search-subtitle" ng-show="result.subTitle">
                                                {{result.subTitle}}
                                            </small>
                                        </a>

                                        <a href ng-click="searchShowMenu($event, {node: result})" class="umb-options"><i></i><i></i><i></i></a>
                                    </div>
                                </li>
                            </ul>

                        </li>
                    </ul>
                </div>

            </div>

            <!-- the tree -->
            <div id="tree" class="umb-modalcolumn-body" ng-if="authenticated">
                <umb-tree
                    cachekey="_"
                    eventhandler="treeEventHandler"
                    section="{{currentSection}}" >
                </umb-tree>
            </div>
        </div>

        <div class="offset6" id="navOffset" style="z-index: 10">

            <!-- The context menu -->
            <div id='contextMenu' class="umb-modalcolumn fill shadow" ng-swipe-left="nav.hideMenu()" ng-show="showContextMenu" ng-animate="'slide'">
                <umb-context-menu
                    menu-dialog-title="{{menuDialogTitle}}"
                    current-section="{{currentSection}}"
                    current-node="menuNode"
                    menu-actions="menuActions">
                </umb-context-menu>
            </div>


            <!-- Tree dialogs -->
            <div id="dialog" class='umb-modalcolumn fill shadow'
                ng-swipe-left="nav.hideDialog()"
                ng-show="showContextMenuDialog" ng-animate="'slide'">
                <div class='umb-modalcolumn-header'><commit_msg>Disable swipe hiding of dialogs -- it renders text selection impossible<commit_after><div id="leftcolumn" ng-controller="Umbraco.NavigationController"
    ng-mouseleave="leaveTree($event)" ng-mouseenter="enterTree($event)">

    <umb-sections sections="sections" ng-if="authenticated">
    </umb-sections>

    <!-- navigation container -->
    <div id="navigation" ng-show="showNavigation" class="fill umb-modalcolumn" ng-animate="'slide'" nav-resize>

        <div class="navigation-inner-container span6">

            <!-- the search -->
            <div ng-controller="Umbraco.SearchController" ng-if="authenticated">

                <!-- Search form -->
                <div id="search-form">
                    <div class="umb-modalcolumn-header">

                        <form class="form-search" novalidate>
                            <i class="icon-search"></i>
                            <input type="text"
                                hotkey="ctrl+space"
                                id="search-field"
                                ng-model="searchTerm"
                                class="umb-search-field search-query search-input"
                                localize="placeholder"
                                placeholder="@placeholders_search"
                                ng-keydown="navigateResults($event)"/>
                        </form>
                    </div>
                </div>

                <!-- Search results -->
                <div id="search-results" class="umb-modalcolumn-body" ng-show="showSearchResults">

                    <ul class="umb-tree">
                        <li class="root">
                            <div>
                                <h5 class="umb-tree-header"><localize key="general_searchResults">Search results</localize></h5>
                            </div>

                            <ul class="umb-search-group" ng-repeat="group in groups">
                                <li ng-repeat="result in group.results" ng-class="{'current':selectedItem == result}">
                                    <div class="umb-search-group-item">
                                        <a class="umb-search-group-item-link" ng-class="{'first':$first}" ng-click="searchHide()" ng-href="#/{{result.editorPath}}">

                                            <div class="umb-search-group-item-name">
                                                <i class="icon umb-tree-icon sprTree {{result.icon}}"></i>
                                                {{result.name}}
                                            </div>

                                            <small class="search-subtitle" ng-show="result.subTitle">
                                                {{result.subTitle}}
                                            </small>
                                        </a>

                                        <a href ng-click="searchShowMenu($event, {node: result})" class="umb-options"><i></i><i></i><i></i></a>
                                    </div>
                                </li>
                            </ul>

                        </li>
                    </ul>
                </div>

            </div>

            <!-- the tree -->
            <div id="tree" class="umb-modalcolumn-body" ng-if="authenticated">
                <umb-tree
                    cachekey="_"
                    eventhandler="treeEventHandler"
                    section="{{currentSection}}" >
                </umb-tree>
            </div>
        </div>

        <div class="offset6" id="navOffset" style="z-index: 10">

            <!-- The context menu -->
            <div id='contextMenu' class="umb-modalcolumn fill shadow" ng-show="showContextMenu" ng-animate="'slide'">
                <umb-context-menu
                    menu-dialog-title="{{menuDialogTitle}}"
                    current-section="{{currentSection}}"
                    current-node="menuNode"
                    menu-actions="menuActions">
                </umb-context-menu>
            </div>


            <!-- Tree dialogs -->
            <div id="dialog" class='umb-modalcolumn fill shadow'
                ng-show="showContextMenuDialog" ng-animate="'slide'">
                <div class='umb-modalcolumn-header'>
{'fraction_non_alphanumeric': 0.13433007475560668, 'fraction_numerical': 0.0013801035077630822, 'mean_word_length': 1.1266813401809734, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 0, '>': 141, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 48, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4558358', 'n_tokens_mistral': 2066, 'n_tokens_neox': 1902, 'n_words': 329}