<commit_before>UICustomizerDefine('HomePageModify', ['Engine'], function(Engine) {
   "use strict";

   return {
      applySettings: applySettings
   };

   function applySettings(settings) {
      var css = '';
      for (let groupName in settings.options) {
         let group = settings.options[groupName];
         for (let name in group.options) {
            if (group.options[name].value) {
               css += Engine.getCSS('HomePageModify-' + name);
            }
         }
      }
      if (css) {
         Engine.appendCSS('HomePageModify', css);
      } else {
         Engine.removeCSS('HomePageModify');
      }
   }

});<commit_msg>Снимаем ограничение ширины новости если расширяем основную страницу<commit_after>UICustomizerDefine('HomePageModify', ['Engine'], function (Engine) {
   "use strict";

   return {
      applySettings: applySettings
   };

   function applySettings(settings) {
      var css = '';
      for (let groupName in settings.options) {
         let group = settings.options[groupName];
         for (let name in group.options) {
            if (group.options[name].value) {
               css += Engine.getCSS('HomePageModify-' + name);
            }
         }
      }
      let other = settings.options.Other.options;
      if (other.StretchPage.value || other.HideTapeEvents.value) {
         css += Engine.generateCSS.custom(
            '.np-View__twoColumns .sn-NewsPage__oneNews-contentLogo+.sn-NewsPage__oneNews-contentText',
            'max-width',
            'none !important'
         );
      }
      if (css) {
         Engine.appendCSS('HomePageModify', css);
      } else {
         Engine.removeCSS('HomePageModify');
      }
   }

});
{'fraction_non_alphanumeric': 0.12441037735849056, 'fraction_numerical': 0.0, 'mean_word_length': 2.166044776119403, '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': '4017241', 'n_tokens_mistral': 503, 'n_tokens_neox': 500, 'n_words': 93}