<commit_before>//workspace explorer
'use strict'
D.WSE=function(){
  var pending=this.pending={};this.dom=I.wse;this.dom.hidden=0
  this.dom.onclick=function(x){var t=x.target.closest('.jstree-anchor');if(!t)return
                               D.send('Edit',{win:0,pos:0,text:$e.jstree('get_path',t,'.')})
                               ;/^wse_leaf_/.test(t.id)||$e.jstree('refresh_node',t)}
  var $e=this.$e=$(this.dom).jstree({plugins:[],core:{animation:true,check_callback:true,data:function(x,f){
    var i=x.id==='#'?0:+x.id.replace(/\D+/g,'');pending[i]=f.bind(this);D.send('TreeList',{nodeId:i})
  }}})
}
D.WSE.prototype={
  replyTreeList:function(x){
    var f=this.pending[x.nodeId];if(!f)return
    f((x.nodeIds||[]).map(function(c,i){
      var t=Math.floor(x.classes[i]);return{text:x.names[i],children:!!c,id:'wse_'+(c||('leaf_'+x.nodeId+'_'+i)),
                                            icon:c?'':2<=t&&t<=4?'style/img/wse_nc'+t+'.png':'img/tb_ED.png'}
    }))
    delete this.pending[x.nodeId]
  },
  refresh:function(){this.$e.jstree('refresh')}
}
<commit_msg>fixed wrong path to tb_ED.png<commit_after>//workspace explorer
'use strict'
D.WSE=function(){
  var pending=this.pending={};this.dom=I.wse;this.dom.hidden=0
  this.dom.onclick=function(x){var t=x.target.closest('.jstree-anchor');if(!t)return
                               D.send('Edit',{win:0,pos:0,text:$e.jstree('get_path',t,'.')})
                               ;/^wse_leaf_/.test(t.id)||$e.jstree('refresh_node',t)}
  var $e=this.$e=$(this.dom).jstree({plugins:[],core:{animation:true,check_callback:true,data:function(x,f){
    var i=x.id==='#'?0:+x.id.replace(/\D+/g,'');pending[i]=f.bind(this);D.send('TreeList',{nodeId:i})
  }}})
}
D.WSE.prototype={
  replyTreeList:function(x){
    var f=this.pending[x.nodeId];if(!f)return
    f((x.nodeIds||[]).map(function(c,i){
      var t=Math.floor(x.classes[i]);return{text:x.names[i],children:!!c,id:'wse_'+(c||('leaf_'+x.nodeId+'_'+i)),
                                            icon:c?'':2<=t&&t<=4?'style/img/wse_nc'+t+'.png':'style/img/tb_ED.png'}
    }))
    delete this.pending[x.nodeId]
  },
  refresh:function(){this.$e.jstree('refresh')}
}

{'fraction_non_alphanumeric': 0.2518315018315018, 'fraction_numerical': 0.005494505494505495, 'mean_word_length': 3.6989247311827955, 'pattern_counts': {'":': 0, '<': 7, '<?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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1812293', 'n_tokens_mistral': 885, 'n_tokens_neox': 864, 'n_words': 56}