<commit_before><div class="cmsadmin" ng-controller="NavController" ng-show="!isDeleted" ng-init="settingsOverlay=true">
	<?= $this->render('_settings'); ?>
    <div class="row">
        <div class="col cmsadmin-frame-wrapper" ng-if="displayLiveContainer">
            <iframe class="cmsadmin-frame" ng-src="{{ liveUrl | trustAsResourceUrl:liveUrl }}" frameborder="0" width="100%" height="100%"></iframe>
        </div>
        <div class="col">
            <div class="row">
                <div class="col">
                    <div class="cmsadmin-toolbar">
                        <div class="toolbar-item">
                            <label class="switch" for="switch-visibility-status">
                            	<span class="switch-label">
                                    <i class="material-icons" ng-show="!navData.is_hidden">visibility</i>
                                    <i class="material-icons" ng-show="navData.is_hidden">visibility_off</i>
                                </span>
                                <span class="switch-switch">
                                    <input class="switch-checkbox" ng-model="navData.is_hidden" ng-true-value="0" ng-false-value="1" type="checkbox" id="switch-visibility-status"/>
                                    <span class="switch-control"></span>
                                </span>
                            </label>
                        </div>
                        <div class="toolbar-item">
                            <label class="switch" for="switch-online-status">
                                <span class="switch-label">
                                    <i class="material-icons" ng-show="!navData.is_offline">cloud_queue</i>
                                    <i class="material-icons" ng-show="navData.is_offline">cloud_off</i>
                                </span>
                                <span class="switch-switch">
                                    <input class="switch-checkbox" type="checkbox" id="switch-online-status" ng-model="navData.is_offline" ng-true-value="0" ng-false-value="1"/>
                                    <span class="switch-control"></span>
                                </span>
                            </label>
                        </div>
                        <div class="toolbar-item" ng-class="{'ml-auto':$first}" ng-repeat="lang in AdminLangService.data" ng-click="AdminLangService.toggleSelection(lang)">
                            <button class="toolbar-button toolbar-button-flag" ng-class="{'active' : AdminLangService.isInSelection(lang.short_code)}" >
                                <span class="flag flag-{{lang.short_code}}">
                                    <span class="flag-fallback">{{lang.name}}</span>
                                </span>
                            </button>
                        </div>
                        <div class="toolbar-item" ng-click="settingsOverlay=!settingsOverlay">
                            <button class="toolbar-button">
                                <i class="material-icons">more_vert</i>
                            </button>
                        </div>
                    </div>
                    <div class="cmsadmin-pages">
                        <div class="row">
                            <div class="col" ng-repeat="lang in languagesData" ng-if="AdminLangService.isInSelection(lang.short_code)" ng-controller="NavItemController">
                                <?= $this->render('_navitem'); ?>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col blockholder-column" ng-controller="DroppableBlocksController">
                    <div class="blockholder">
                        <div class="blockholder-search">
                            <input class="blockholder-search-input" id="blockholder-search" ng-model="searchQuery" />
                            <label class="blockholder-search-label" for="blockholder-search">
                                <i class="material-icons">search</i>
                            </label>
                        </div>
                        <div class="blockholder-group blockholder-group-favorites" ng-repeat="item in blocksData | orderBy:'groupPosition'" >
                            <span class="blockholder-group-title">
                                <i class="material-icons" ng-if="item.group.is_fav">favorite</i>
                                <span>{{item.group.name}}</span>
                            </span>
                            <ul class="blockholder-list">
                                <li class="blockholder-item" ng-repeat="block in item.blocks | orderBy:'name' | filter:{name:searchQuery}"
                                    dnd dnd-model="block" dnd-isvalid="true" dnd-drop-disabled dnd-css="{onDrag: 'drag-start', onHover: 'red', onHoverTop: 'red-top', onHoverMiddle: 'red-middle', onHoverBottom: 'red-bottom'}"
                                >
                                    <i class="material-icons blockholder-icon">{{block.icon}}</i>
                                    <span>{{block.name}}</span>
                                    <button class="blockholder-favorite" ng-click="addToFav(block)" ng-if="!item.group.is_fav && !block.favorized">
                                        <i class="material-icons">favorite</i>
                                    </button>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div><commit_msg>hide groups on block search<commit_after><div class="cmsadmin" ng-controller="NavController" ng-show="!isDeleted" ng-init="settingsOverlay=true">
	<?= $this->render('_settings'); ?>
    <div class="row">
        <div class="col cmsadmin-frame-wrapper" ng-if="displayLiveContainer">
            <iframe class="cmsadmin-frame" ng-src="{{ liveUrl | trustAsResourceUrl:liveUrl }}" frameborder="0" width="100%" height="100%"></iframe>
        </div>
        <div class="col">
            <div class="row">
                <div class="col">
                    <div class="cmsadmin-toolbar">
                        <div class="toolbar-item">
                            <label class="switch" for="switch-visibility-status">
                            	<span class="switch-label">
                                    <i class="material-icons" ng-show="!navData.is_hidden">visibility</i>
                                    <i class="material-icons" ng-show="navData.is_hidden">visibility_off</i>
                                </span>
                                <span class="switch-switch">
                                    <input class="switch-checkbox" ng-model="navData.is_hidden" ng-true-value="0" ng-false-value="1" type="checkbox" id="switch-visibility-status"/>
                                    <span class="switch-control"></span>
                                </span>
                            </label>
                        </div>
                        <div class="toolbar-item">
                            <label class="switch" for="switch-online-status">
                                <span class="switch-label">
                                    <i class="material-icons" ng-show="!navData.is_offline">cloud_queue</i>
                                    <i class="material-icons" ng-show="navData.is_offline">cloud_off</i>
                                </span>
                                <span class="switch-switch">
                                    <input class="switch-checkbox" type="checkbox" id="switch-online-status" ng-model="navData.is_offline" ng-true-value="0" ng-false-value="1"/>
                                    <span class="switch-control"></span>
                                </span>
                            </label>
                        </div>
                        <div class="toolbar-item" ng-class="{'ml-auto':$first}" ng-repeat="lang in AdminLangService.data" ng-click="AdminLangService.toggleSelection(lang)">
                            <button class="toolbar-button toolbar-button-flag" ng-class="{'active' : AdminLangService.isInSelection(lang.short_code)}" >
                                <span class="flag flag-{{lang.short_code}}">
                                    <span class="flag-fallback">{{lang.name}}</span>
                                </span>
                            </button>
                        </div>
                        <div class="toolbar-item" ng-click="settingsOverlay=!settingsOverlay">
                            <button class="toolbar-button">
                                <i class="material-icons">more_vert</i>
                            </button>
                        </div>
                    </div>
                    <div class="cmsadmin-pages">
                        <div class="row">
                            <div class="col" ng-repeat="lang in languagesData" ng-if="AdminLangService.isInSelection(lang.short_code)" ng-controller="NavItemController">
                                <?= $this->render('_navitem'); ?>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col blockholder-column" ng-controller="DroppableBlocksController">
                    <div class="blockholder">
                        <div class="blockholder-search">
                            <input class="blockholder-search-input" id="blockholder-search" ng-model="searchQuery" />
                            <label class="blockholder-search-label" for="blockholder-search">
                                <i class="material-icons">search</i>
                            </label>
                        </div>
                        <div class="blockholder-group blockholder-group-favorites" ng-repeat="item in blocksData | orderBy:'groupPosition'" >
                            <span class="blockholder-group-title" ng-click="toggleGroup(item.group)" ng-hide="searchQuery.length > 0">
                                <i class="material-icons" ng-if="item.group.is_fav">favorite</i>
                                <span>{{item.group.name}}</span>
                            </span>
                            <ul class="blockholder-list">
                                <li class="blockholder-item" ng-show="item.group.toggle_open" ng-repeat="block in item.blocks | orderBy:'name' | filter:{name:searchQuery}"
                                    dnd dnd-model="block" dnd-isvalid="true" dnd-drop-disabled dnd-css="{onDrag: 'drag-start', onHover: 'red', onHoverTop: 'red-top', onHoverMiddle: 'red-middle', onHoverBottom: 'red-bottom'}"
                                >
                                    <i class="material-icons blockholder-icon">{{block.icon}}</i>
                                    <span>{{block.name}}</span>
                                    <button class="blockholder-favorite" ng-click="addToFav(block)" ng-if="!item.group.is_fav && !block.favorized">
                                        <i class="material-icons">favorite</i>
                                    </button>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{'fraction_non_alphanumeric': 0.13419388373906263, 'fraction_numerical': 0.001992549597158451, 'mean_word_length': 1.2221366698748797, 'pattern_counts': {'":': 0, '<': 201, '<?xml version=': 0, '>': 206, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 42, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7309953', 'n_tokens_mistral': 2889, 'n_tokens_neox': 2733, 'n_words': 423}