<commit_before><div class="ad-page">

    <!-- DESKTOP START -->
    <div ng-if="!isMobile" class="ng-class:[{'ad-page-container-flex-row':parallelMode},{'ad-page-container-flex':!parallelMode}]">

        <!-- PRIMARY BLOCK START -->
        <div class="db-block db-margin-05 ng-class:[{'db-block-close':c.bm === c.bms.SECONDARY},{'db-block-open':c.bm !== c.bms.SECONDARY}]">

            <!-- PRIMARY BLOCK HEADER -->
            <div class="btn-group db-block-hdr db-prim-bg db-brd-top db-padding-2">

                <button ng-if="menuClosed()" type="button" class="btn db-btn-prim db-btn-small db-brd db-margin-2" ng-click="openMenu()"><span class="glyphicon glyphicon-menu-hamburger"></span></button>
                <button ng-if="menuClosed()" type="button" class="btn db-btn-prim db-btn-small db-brd db-margin-2" ng-click="c.toggleParallelMode()">
                    <span class="glyphicon ng-class:[{'glyphicon-resize-vertical':parallelMode},{'glyphicon-resize-horizontal':!parallelMode}]"></span>
                </button>
                <button type="button" class="btn db-btn-prim db-btn-small db-brd db-margin-2" ng-disabled="parallelMode" ng-click="c.primaryClicked()">
                    <span class="glyphicon ng-class:[{'glyphicon-minus':c.bm === c.bms.PRIMARY},{'glyphicon-plus':c.bm !== c.bms.PRIMARY}]"></span>
                </button>

            </div>

            <!-- PRIMARY BLOCK CONTENT -->
            <div class="db-block-content db-block-border db-brd-bottom">

                <db-pdf ng-if="!c.isSecret(c.tData)" ng-attr-uri="c.primaryUrl" ng-attr-hide="c.hidePdf"></db-pdf>
                <db-imgviewer ng-if="c.isSecret(c.tData)" file-conf="c.tData"></db-imgviewer>
                <div ng-if="c.error" class="alert alert-danger" role="alert">{{c.error}}</div>

            </div>

        </div>
        <!-- PRIMARY BLOCK END -->

        <!-- SECONDARY  BLOCK START -->
        <div class="db-block db-margin-05 ng-class:[{'db-block-close':c.bm === c.bms.PRIMARY},{'db-block-open':c.bm !== c.bms.PRIMARY}]">

            <!-- SECONDARY  BLOCK HEADER -->
            <div class="btn-group db-block-hdr db-prim-bg db-brd-top db-padding-2">

                <button type="button" class="btn db-btn-prim db-btn-small db-brd db-margin-2" ng-disabled="parallelMode" ng-click="c.secondaryClicked()">
                    <span class="glyphicon ng-class:[{'glyphicon-minus':c.bm === c.bms.SECONDARY},{'glyphicon-plus':c.bm !== c.bms.SECONDARY}]"></span>
                </button>

                <button type="button" class="btn db-btn-prim db-btn-big db-brd db-margin-2 ng-class:[{'active':c.lbm === c.lbms.ATTACHMENTS}]"
                    db-confirm confirm-enabled="c.hasUnsavedProposal || c.remarkIsUnsaved" confirm-config="c.unsavedConfig" ng-click="c.attClicked()">
                    <span translate translate-cloak>STR_ATTACHMENTS</span>
                    <span ng-if="c.aData.objects.length" class="badge ng-cloak">{{c.aData.objects.length}}</span>
                </button>
                <button type="button" class="btn db-btn-prim db-btn-big db-brd db-margin-2 ng-class:[{'active':c.lbm === c.lbms.MATERIALS}]"
                    db-confirm confirm-enabled="c.hasUnsavedProposal || c.remarkIsUnsaved" confirm-config="c.unsavedConfig" ng-click="c.matClicked()">
                    <span translate translate-cloak>STR_OTHER_MATERIAL</span>
                    <span ng-if="c.materialCount()" class="badge ng-cloak">{{c.materialCount()}}</span>
                </button>
                <button type="button" class="btn db-btn-prim db-btn-big btn-block db-brd db-margin-2 ng-class:[{'active':c.lbm === c.lbms.PROPOSALS}]"
                    db-confirm confirm-enabled="c.hasUnsavedProposal || c.remarkIsUnsaved" confirm-config="c.unsavedConfig" ng-click="c.proposalsClicked()">
                    <span translate translate-cloak>STR_PROPOSALS</span>
                </button>
                <button type="button" class="btn db-btn-prim db-btn-big db-brd db-margin-2 ng-class:[{'active':c.lbm === c.lbms.REMARK}]"
                    ng-click="c.remarkClicked()">
                    <span translate translate-cloak>STR_REMARK</span>
                </button>

            </div>

            <!-- SECONDARY BLOCK CONTENT -->
            <div ng-hide="c.selData" class="db-block-content db-block-border db-brd-bottom">

                <db-pdf ng-if="(c.lbm === c.lbms.ATTACHMENTS || c.lbm === c.lbms.MATERIALS) && !c.isSecret(c.secondaryAtt)" ng-attr-uri="c.secondaryUrl"></db-pdf><commit_msg>proposal count and new proposal indicator fixed<commit_after><div class="ad-page">

    <!-- DESKTOP START -->
    <div ng-if="!isMobile" class="ng-class:[{'ad-page-container-flex-row':parallelMode},{'ad-page-container-flex':!parallelMode}]">

        <!-- PRIMARY BLOCK START -->
        <div class="db-block db-margin-05 ng-class:[{'db-block-close':c.bm === c.bms.SECONDARY},{'db-block-open':c.bm !== c.bms.SECONDARY}]">

            <!-- PRIMARY BLOCK HEADER -->
            <div class="btn-group db-block-hdr db-prim-bg db-brd-top db-padding-2">

                <button ng-if="menuClosed()" type="button" class="btn db-btn-prim db-btn-small db-brd db-margin-2" ng-click="openMenu()"><span class="glyphicon glyphicon-menu-hamburger"></span></button>
                <button ng-if="menuClosed()" type="button" class="btn db-btn-prim db-btn-small db-brd db-margin-2" ng-click="c.toggleParallelMode()">
                    <span class="glyphicon ng-class:[{'glyphicon-resize-vertical':parallelMode},{'glyphicon-resize-horizontal':!parallelMode}]"></span>
                </button>
                <button type="button" class="btn db-btn-prim db-btn-small db-brd db-margin-2" ng-disabled="parallelMode" ng-click="c.primaryClicked()">
                    <span class="glyphicon ng-class:[{'glyphicon-minus':c.bm === c.bms.PRIMARY},{'glyphicon-plus':c.bm !== c.bms.PRIMARY}]"></span>
                </button>

            </div>

            <!-- PRIMARY BLOCK CONTENT -->
            <div class="db-block-content db-block-border db-brd-bottom">

                <db-pdf ng-if="!c.isSecret(c.tData)" ng-attr-uri="c.primaryUrl" ng-attr-hide="c.hidePdf"></db-pdf>
                <db-imgviewer ng-if="c.isSecret(c.tData)" file-conf="c.tData"></db-imgviewer>
                <div ng-if="c.error" class="alert alert-danger" role="alert">{{c.error}}</div>

            </div>

        </div>
        <!-- PRIMARY BLOCK END -->

        <!-- SECONDARY  BLOCK START -->
        <div class="db-block db-margin-05 ng-class:[{'db-block-close':c.bm === c.bms.PRIMARY},{'db-block-open':c.bm !== c.bms.PRIMARY}]">

            <!-- SECONDARY  BLOCK HEADER -->
            <div class="btn-group db-block-hdr db-prim-bg db-brd-top db-padding-2">

                <button type="button" class="btn db-btn-prim db-btn-small db-brd db-margin-2" ng-disabled="parallelMode" ng-click="c.secondaryClicked()">
                    <span class="glyphicon ng-class:[{'glyphicon-minus':c.bm === c.bms.SECONDARY},{'glyphicon-plus':c.bm !== c.bms.SECONDARY}]"></span>
                </button>

                <button type="button" class="btn db-btn-prim db-btn-big db-brd db-margin-2 ng-class:[{'active':c.lbm === c.lbms.ATTACHMENTS}]"
                    db-confirm confirm-enabled="c.hasUnsavedProposal || c.remarkIsUnsaved" confirm-config="c.unsavedConfig" ng-click="c.attClicked()">
                    <span translate translate-cloak>STR_ATTACHMENTS</span>
                    <span ng-if="c.aData.objects.length" class="badge ng-cloak">{{c.aData.objects.length}}</span>
                </button>
                <button type="button" class="btn db-btn-prim db-btn-big db-brd db-margin-2 ng-class:[{'active':c.lbm === c.lbms.MATERIALS}]"
                    db-confirm confirm-enabled="c.hasUnsavedProposal || c.remarkIsUnsaved" confirm-config="c.unsavedConfig" ng-click="c.matClicked()">
                    <span translate translate-cloak>STR_OTHER_MATERIAL</span>
                    <span ng-if="c.materialCount()" class="badge ng-cloak">{{c.materialCount()}}</span>
                </button>
                <button type="button" class="btn db-btn-prim db-btn-big btn-block db-brd db-margin-2 ng-class:[{'active':c.lbm === c.lbms.PROPOSALS}]"
                    db-confirm confirm-enabled="c.hasUnsavedProposal || c.remarkIsUnsaved" confirm-config="c.unsavedConfig" ng-click="c.proposalsClicked()">
                    <span translate translate-cloak>STR_PROPOSALS</span>
                    <span ng-if="c.propCount" class="badge ng-cloak">{{c.propCount}}</span>
                    <span ng-show="c.topic.isModified" class="glyphicon glyphicon-bell db-newprops" aria-hidden="true"></span>
                </button>
                <button type="button" class="btn db-btn-prim db-btn-big db-brd db-margin-2 ng-class:[{'active':c.lbm === c.lbms.REMARK}]"
                    ng-click="c.remarkClicked()">
                    <span translate translate-cloak>STR_REMARK</span>
                </button>

            </div>

            <!-- SECONDARY BLOCK CONTENT -->
            <div ng-hide="c.selData" class="db-block-content db-block-border db-brd-bottom">

                <db-pdf ng-if="(c.lbm === c.lbms.ATTACHMENTS || c.lbm === c.lbms.MATERIALS) && !c.isSecret(c.secondaryAtt)" ng-attr-uri="c.secondaryUrl"></db-pdf>
{'fraction_non_alphanumeric': 0.1873463717003313, 'fraction_numerical': 0.0029924120978946245, 'mean_word_length': 2.4190719766167335, 'pattern_counts': {'":': 0, '<': 135, '<?xml version=': 0, '>': 135, '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': '4307373', 'n_tokens_mistral': 3225, 'n_tokens_neox': 2982, 'n_words': 445}