<commit_before>/**
 * Make sure only one single element is active at one point in time
 *
 * This directive indicates an element as a single panel element and there can only be one single panel element active at any point in time.  This is usually for example, if you have a number of button dropd own elements but you only want one expanded at at point in time.
 *
 * EXAMPLES TODO
 *
 * @module nag.singlePanel
 * @ngdirective nagSinglePanel
 *
 * @nghtmlattribute {null} nag-single-panel
 * @nghtmlattribute {mixed} data-id
 */
angular.module('nag.singlePanel')
.directive('nagSinglePanel', [
  '$compile',
  '$timeout',
  '$rootScope',
  'nagHelper',
  'nagSinglePanelManager',
  function($compile, $timeout, $rootScope, nagHelper, nagSinglePanelManager){
    return {
      restrict: 'EA',
      require: nagSinglePanelManager.getSinglePanelDirectives(['nagExpander']),
      priority: 399,
      controller: 'NagSinglePanelDCtrl',
      compile: function(element, attributes, transclude) {<commit_msg>added support for tooltip directive<commit_after>/**
 * Make sure only one single element is active at one point in time
 *
 * This directive indicates an element as a single panel element and there can only be one single panel element active at any point in time.  This is usually for example, if you have a number of button dropd own elements but you only want one expanded at at point in time.
 *
 * EXAMPLES TODO
 *
 * @module nag.singlePanel
 * @ngdirective nagSinglePanel
 *
 * @nghtmlattribute {null} nag-single-panel
 * @nghtmlattribute {mixed} data-id
 */
angular.module('nag.singlePanel')
.directive('nagSinglePanel', [
  '$compile',
  '$timeout',
  '$rootScope',
  'nagHelper',
  'nagSinglePanelManager',
  function($compile, $timeout, $rootScope, nagHelper, nagSinglePanelManager){
    return {
      restrict: 'EA',
      require: nagSinglePanelManager.getSinglePanelDirectives([
        'nagExpander',
        'nagTooltip'
      ]),
      priority: 399,
      controller: 'NagSinglePanelDCtrl',
      compile: function(element, attributes, transclude) {
{'fraction_non_alphanumeric': 0.09787849566055931, 'fraction_numerical': 0.0028929604628736743, 'mean_word_length': 4.1361386138613865, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2068488', 'n_tokens_mistral': 590, 'n_tokens_neox': 594, 'n_words': 210}