<commit_before><!-- container for everything -->
<div ng-controller="MainCtrl" class="MainCtrl" id="MainCtrl" handleglobalkeystrokes>

  <!-- left side menu bar -->
  <bundle-list-side-bar></bundle-list-side-bar>
  
  <!-- container for everything (top + bottom menu and all cans) but left sub-menu -->
  <div class="mainWindow" id="mainWindow">

    <progress-thing show-thing="{{vs.somethingInProgress}}"></progress-thing>

    
    <!-- top menu bar -->
    <div class="menuBarTop">
      <button ng-show="cps.vals.activeButtons.openMenu" id="submenuOpen" ng-click="openSubmenu();" class="SideMenuBtn left"><img></img></button>
      <button ng-show="cps.vals.activeButtons.addLevelSeg" ng-disabled="!vs.getPermission('addLevelSegBtnClick')" class="mini-btn" ng-click="addLevelSegBtnClick();">add level (SEG.)</button> 
      <button ng-show="cps.vals.activeButtons.addLevelEvent" ng-disabled="!vs.getPermission('addLevelPointBtnClick')" class="mini-btn" ng-click="addLevelPointBtnClick();">add level (EVENT)</button> 
      <button ng-show="cps.vals.activeButtons.renameSelLevel" ng-disabled="!vs.getPermission('renameSelLevelBtnClick')" class="mini-btn" ng-click="renameSelLevelBtnClick();">rename sel. level</button> 
      <button ng-show="cps.vals.activeButtons.downloadTextGrid" ng-disabled="!vs.getPermission('downloadTextGridBtnClick')" class="mini-btn" ng-click="downloadTextGridBtnClick();">download TextGrid</button> 
      <button id="spectSettingsBtn" ng-show="cps.vals.activeButtons.specSettings" ng-disabled="!vs.getPermission('spectSettingsChange')" class="mini-btn" ng-click="spectSettingsBtnClick();">spec. settings</button>
      
      <li class="dropdown">
        <a class="dropdown-toggle">
          <button id="openDemoDBbtn" ng-show="cps.vals.activeButtons.openDemoDB" ng-disabled="!vs.getPermission('openDemoBtnDBclick')" class="mini-btn">open demo DB</button>
        </a>
        <ul class="dropdown-menu">
          <li>Choose DB:</li>
          <li ng-repeat="curDB in cps.vals.demoDBs">
            <a ng-click="openDemoDBbtnClick(curDB);">{{curDB}}</a>
          </li>
        </ul>
      </li>

      <button ng-show="cps.vals.activeButtons.connect" ng-disabled="!vs.getPermission('connectBtnClick')" class="mini-btn" ng-click="connectBtnClick();">{{connectBtnLabel}}</button>
      <button ng-show="cps.vals.activeButtons.clear" ng-disabled="!vs.getPermission('clearBtnClick')" class="mini-btn" ng-click="clearBtnClick();">clear</button>
      <a id="aboutBtn" class="SideMenuBtn2 right" title="About" ng-click="aboutBtnClick();"><img></img></a>
    </div>

    <!-- vertical split layout that contains top and bottom pane -->
    <div class="allCans">
      <bg-splitter show-two-dim-cans="{{cps.vals.perspectives[vs.curPerspectiveIdx].twoDimCanvases.order.length > 0}}"> 
      <bg-pane type="topPane" min-size="80" max-size="500" class="topPane">
      <div class="timeline">
        <ul>
          <li ng-repeat="curTrack in cps.vals.perspectives[vs.curPerspectiveIdx].signalCanvases.order" ng-switch on="curTrack">
            <osci ng-switch-when="OSCI" order="{{$index}}"></osci>
            <spectro ng-switch-when="SPEC" order="{{$index}}"></spectro>
            <ssff-track track-name="{{curTrack}}" ng-switch-default order="{{$index}}"></ssff-track>
          </li>
        </ul>
      </div>
    </bg-pane>
    <bg-pane type="bottomPane" min-size="80" class="bottomPane">
    <div>
      <ul ng-model="tds.levels">
        <li ng-repeat="level in tds.data.levels | levelsFilter" class="{{level.type}}" id="{{$index}}">
          <level id='{{level.name}}' open='true'></level>
        </li>
      </ul>
    </div>
  </bg-pane>
  <bg-pane type="bottomRightResizePane">
  <ul>
    <li ng-repeat="cur2dTrack in cps.vals.perspectives[vs.curPerspectiveIdx].twoDimCanvases.order" ng-switch on="cur2dTrack">
      <epg ng-switch-when="EPG"></epg>
      <dots ng-switch-when="DOTS"></dots>
    </li>
  </ul>
</bg-pane>
</bg-splitter>

</div>


<!-- bottom menu bar -->
<div class="menuBarBottom">
  <div ng-controller="TimelineCtrl">
    <preview id="preview" class="preview"></preview>  
  </div>
  <button id="zoomAllBtn" ng-click="cmdZoomAll();" ng-disabled="!vs.getPermission('zoom')" class="mini-btn" id="cmd_viewZoomAll" data-tooltip="Shortcut: {{shortcut.zoomAll}}">all</button>
  <button id="zoomInBtn" ng-click="cmdZoomIn();" ng-disabled="!vs.getPermission('zoom')" class="mini-btn" id="cmd_viewZoomIn" data-tooltip="Shortcut: {{shortcut.zoomIn}}">in</button>
  <button id="zoomOutBtn" ng-click="cmdZoomOut();" ng-disabled="!vs.getPermission('zoom')" class="mini-btn" id="cmd_viewZoomOut" data-tooltip="Shortcut: {{shortcut.zoomOut}}">out</button>
  <button id="zoomLeftBtn" ng-click="cmdZoomLeft();" ng-disabled="!vs.getPermission('zoom')" class="mini-btn" id="cmd_viewMoveLeft" data-tooltip="Shortcut: {{shortcut.shiftViewPortLeft}}">left</button>
  <button id="zoomRightBtn" ng-click="cmdZoomRight();" ng-disabled="!vs.getPermission('zoom')" class="mini-btn" id="cmd_viewMoveRight" data-tooltip="Shortcut: {{shortcut.shiftViewPortRight}}">right</button>
  <button id="zoomSelBtn" ng-click="cmdZoomSel();" ng-disabled="!vs.getPermission('zoom')" class="mini-btn" id="cmd_viewZoomSelect" data-tooltip="Shortcut: {{shortcut.zoomSel}}">selection</button>
  <button id="playViewBtn" ng-show="cps.vals.restrictions.playback" ng-click="cmdPlayView();" ng-disabled="!vs.getPermission('playaudio')" class="mini-btn" id="cmd_playPause" data-tooltip="Shortcut: {{shortcut.playAllInView}}">play in view</button>
  <button id="playSelBtn" ng-show="cps.vals.restrictions.playback" ng-click="cmdPlaySel();" ng-disabled="!vs.getPermission('playaudio')" class="mini-btn" id="cmd_playSelected" data-tooltip="Shortcut: {{shortcut.playSelected}}">play selected</button>
  <button id="playAllBtn" ng-show="cps.vals.restrictions.playback" ng-click="cmdPlayAll();" ng-disabled="!vs.getPermission('playaudio')" class="mini-btn" id="cmd_playAll" data-tooltip="Shortcut: {{shortcut.playEntireFile}}">play entire file</button>
</div>

<!-- right side menu bar -->
<nav class="rightSideMenu" ng-show="cps.vals.restrictions.showPerspectivesSidebar" show-menu="!isRightSideMenuHidden">
  <button class="rightSideMenuOpenBtn" ng-click="toggleRightSideMenuHidden();"><img></button>
  <h3>Perspectives</h3>
  <ul>
    <li ng-repeat="persp in cps.vals.perspectives" ng-click="changePerspective(persp);" ng-class="getPerspectiveColor(persp);">{{persp.name}}</li>
  </ul>
</nav>

<!-- main window end -->
</div>
</div><commit_msg>removed tooltips...<commit_after><!-- container for everything -->
<div ng-controller="MainCtrl" class="MainCtrl" id="MainCtrl" handleglobalkeystrokes>

  <!-- left side menu bar -->
  <bundle-list-side-bar></bundle-list-side-bar>
  
  <!-- container for everything (top + bottom menu and all cans) but left sub-menu -->
  <div class="mainWindow" id="mainWindow">

    <progress-thing show-thing="{{vs.somethingInProgress}}"></progress-thing>

    
    <!-- top menu bar -->
    <div class="menuBarTop">
      <button ng-show="cps.vals.activeButtons.openMenu" id="submenuOpen" ng-click="openSubmenu();" class="SideMenuBtn left"><img></img></button>
      <button ng-show="cps.vals.activeButtons.addLevelSeg" ng-disabled="!vs.getPermission('addLevelSegBtnClick')" class="mini-btn" ng-click="addLevelSegBtnClick();">add level (SEG.)</button> 
      <button ng-show="cps.vals.activeButtons.addLevelEvent" ng-disabled="!vs.getPermission('addLevelPointBtnClick')" class="mini-btn" ng-click="addLevelPointBtnClick();">add level (EVENT)</button> 
      <button ng-show="cps.vals.activeButtons.renameSelLevel" ng-disabled="!vs.getPermission('renameSelLevelBtnClick')" class="mini-btn" ng-click="renameSelLevelBtnClick();">rename sel. level</button> 
      <button ng-show="cps.vals.activeButtons.downloadTextGrid" ng-disabled="!vs.getPermission('downloadTextGridBtnClick')" class="mini-btn" ng-click="downloadTextGridBtnClick();">download TextGrid</button> 
      <button id="spectSettingsBtn" ng-show="cps.vals.activeButtons.specSettings" ng-disabled="!vs.getPermission('spectSettingsChange')" class="mini-btn" ng-click="spectSettingsBtnClick();">spec. settings</button>
      
      <li class="dropdown">
        <a class="dropdown-toggle">
          <button id="openDemoDBbtn" ng-show="cps.vals.activeButtons.openDemoDB" ng-disabled="!vs.getPermission('openDemoBtnDBclick')" class="mini-btn">open demo DB</button>
        </a>
        <ul class="dropdown-menu">
          <li>Choose DB:</li>
          <li ng-repeat="curDB in cps.vals.demoDBs">
            <a ng-click="openDemoDBbtnClick(curDB);">{{curDB}}</a>
          </li>
        </ul>
      </li>

      <button ng-show="cps.vals.activeButtons.connect" ng-disabled="!vs.getPermission('connectBtnClick')" class="mini-btn" ng-click="connectBtnClick();">{{connectBtnLabel}}</button>
      <button ng-show="cps.vals.activeButtons.clear" ng-disabled="!vs.getPermission('clearBtnClick')" class="mini-btn" ng-click="clearBtnClick();">clear</button>
      <a id="aboutBtn" class="SideMenuBtn2 right" title="About" ng-click="aboutBtnClick();"><img></img></a>
    </div>

    <!-- vertical split layout that contains top and bottom pane -->
    <div class="allCans">
      <bg-splitter show-two-dim-cans="{{cps.vals.perspectives[vs.curPerspectiveIdx].twoDimCanvases.order.length > 0}}"> 
      <bg-pane type="topPane" min-size="80" max-size="500" class="topPane">
      <div class="timeline">
        <ul>
          <li ng-repeat="curTrack in cps.vals.perspectives[vs.curPerspectiveIdx].signalCanvases.order" ng-switch on="curTrack">
            <osci ng-switch-when="OSCI" order="{{$index}}"></osci>
            <spectro ng-switch-when="SPEC" order="{{$index}}"></spectro>
            <ssff-track track-name="{{curTrack}}" ng-switch-default order="{{$index}}"></ssff-track>
          </li>
        </ul>
      </div>
    </bg-pane>
    <bg-pane type="bottomPane" min-size="80" class="bottomPane">
    <div>
      <ul ng-model="tds.levels">
        <li ng-repeat="level in tds.data.levels | levelsFilter" class="{{level.type}}" id="{{$index}}">
          <level id='{{level.name}}' open='true'></level>
        </li>
      </ul>
    </div>
  </bg-pane>
  <bg-pane type="bottomRightResizePane">
  <ul>
    <li ng-repeat="cur2dTrack in cps.vals.perspectives[vs.curPerspectiveIdx].twoDimCanvases.order" ng-switch on="cur2dTrack">
      <epg ng-switch-when="EPG"></epg>
      <dots ng-switch-when="DOTS"></dots>
    </li>
  </ul>
</bg-pane>
</bg-splitter>

</div>


<!-- bottom menu bar -->
<div class="menuBarBottom">
  <div ng-controller="TimelineCtrl">
    <preview id="preview" class="preview"></preview>  
  </div>
  <button id="zoomAllBtn" ng-click="cmdZoomAll();" ng-disabled="!vs.getPermission('zoom')" class="mini-btn" id="cmd_viewZoomAll">all</button>
  <button id="zoomInBtn" ng-click="cmdZoomIn();" ng-disabled="!vs.getPermission('zoom')" class="mini-btn" id="cmd_viewZoomIn">in</button>
  <button id="zoomOutBtn" ng-click="cmdZoomOut();" ng-disabled="!vs.getPermission('zoom')" class="mini-btn" id="cmd_viewZoomOut">out</button>
  <button id="zoomLeftBtn" ng-click="cmdZoomLeft();" ng-disabled="!vs.getPermission('zoom')" class="mini-btn" id="cmd_viewMoveLeft">left</button>
  <button id="zoomRightBtn" ng-click="cmdZoomRight();" ng-disabled="!vs.getPermission('zoom')" class="mini-btn" id="cmd_viewMoveRight">right</button>
  <button id="zoomSelBtn" ng-click="cmdZoomSel();" ng-disabled="!vs.getPermission('zoom')" class="mini-btn" id="cmd_viewZoomSelect">selection</button>
  <button id="playViewBtn" ng-show="cps.vals.restrictions.playback" ng-click="cmdPlayView();" ng-disabled="!vs.getPermission('playaudio')" class="mini-btn" id="cmd_playPause">play in view</button>
  <button id="playSelBtn" ng-show="cps.vals.restrictions.playback" ng-click="cmdPlaySel();" ng-disabled="!vs.getPermission('playaudio')" class="mini-btn" id="cmd_playSelected">play selected</button>
  <button id="playAllBtn" ng-show="cps.vals.restrictions.playback" ng-click="cmdPlayAll();" ng-disabled="!vs.getPermission('playaudio')" class="mini-btn" id="cmd_playAll">play entire file</button>
</div>

<!-- right side menu bar -->
<nav class="rightSideMenu" ng-show="cps.vals.restrictions.showPerspectivesSidebar" show-menu="!isRightSideMenuHidden">
  <button class="rightSideMenuOpenBtn" ng-click="toggleRightSideMenuHidden();"><img></button>
  <h3>Perspectives</h3>
  <ul>
    <li ng-repeat="persp in cps.vals.perspectives" ng-click="changePerspective(persp);" ng-class="getPerspectiveColor(persp);">{{persp.name}}</li>
  </ul>
</nav>

<!-- main window end -->
</div>
</div>
{'fraction_non_alphanumeric': 0.19818181818181818, 'fraction_numerical': 0.0020553359683794467, 'mean_word_length': 4.953411764705883, 'pattern_counts': {'":': 0, '<': 257, '<?xml version=': 0, '>': 259, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7426492', 'n_tokens_mistral': 4298, 'n_tokens_neox': 4217, 'n_words': 616}