<commit_before><dom-module id="util-lola">
  <template>
  </template>
  <script>
    Polymer({
      is: 'util-lola',
      properties:{
        active:{
          type: Boolean,
          value: false,
          observer: 'toggle'
        },
        message: {
          type: String,
          value: ''
        },
        hidden: {
          type: String,
          computed: 'isActive(active)'
        },
        timeout: {
          type: Number,
          value: 0
        }
      },
      attached:function() {
        var lola = document.createElement('div');
        lola.id='lolaContainer';
        lola.innerHTML = '<div id="lola" class="lola" style="position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);display:' + this.hidden + ';z-index:9999;padding:20px;overflow:auto;border-radius:10px;width:540px;height:303px;background:#FFF;"><div style="font-size:18px;position:relative;top:70px;text-align:center;margin:0 auto;"><h3 class="lolaCargando">' + this.message + '</h3><br /><img alt="' + this.message + '" src="data:image/gif;base64,R0lGODlhNAA0AMQAAP9mAf+TS/X19eXl5dra2tXV1f+we/+DMP/o2f///8zMzPf3983Nzf7+/vj4+O/v79DQ0N3d3ebm5v39/dbW1vr6+v/48//Qsf/v5P9xEv+1hP9/Kv/9/P/fyQAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQEFAAAACwAAAAANAA0AAAF/2AijmRpnmiqruk0UNHCzjRKKDhU1Twt4EBJb+iCyUg/oGJQKsaGp1tuN2oUgIzjSKrQQZFKhZDkIDAKj1Iy+B2tcU<KEY> /></div></div><div id="lolak" class="lola" style="position:fixed;top:0;left:0;width:100%;height:100%;z-index:9000;background-color:rgba(20,20,20,0.6);display:' + this.hidden + ';filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=\'#99202020\',endColorstr=\'#99202020\');"></div>';
        document.body.appendChild(lola);
        if (!!this.timeout) {
          setTimeout(function(){ this.active = false; }.bind(this), this.timeout*1000 );
        }
      },
      isActive: function(active) {
        //console.log('isActive', active);
        return (active) ? 'block' : 'none';
      },
      toggle: function() {
        var lola = document.querySelector('#lola');
        if (lola) {
          lola.style.display = this.hidden;
          document.querySelector('#lolak').style.display = this.hidden; 
          //console.log('toggle to ', this.hidden);
        }
      }
    });
  </script>
</dom-module><commit_msg>improved layout size in mobile<commit_after><dom-module id="util-lola">
  <template>
  </template>
  <script>
    Polymer({
      is: 'util-lola',
      properties:{
        active:{
          type: Boolean,
          value: false,
          observer: 'toggle'
        },
        message: {
          type: String,
          value: ''
        },
        hidden: {
          type: String,
          computed: 'isActive(active)'
        },
        timeout: {
          type: Number,
          value: 0
        }
      },
      attached:function() {
        var lola = document.createElement('div');
        lola.id='lolaContainer';
        lola.innerHTML = '<div id="lola" class="lola" style="position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);display:' + this.hidden + ';z-index:9999;padding:20px;overflow:auto;border-radius:10px;width:50%;height:30%;background:#FFF;"><div style="font-size:18px;position:relative;top:70px;text-align:center;margin:0 auto;"><h3 class="lolaCargando">' + this.message + '</h3><br /><img alt="' + this.message + '" src="data:image/gif;base64,R0lGODlhNAA0AMQAAP9mAf+TS/X19eXl5dra2tXV1f+we/+DMP/o2f///8zMzPf3983Nzf7+/vj4+O/v79DQ0N3d3ebm5v39/dbW1vr6+v/48//Qsf/v5P9xEv+1hP9/Kv/9/P/fyQAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+<KEY>wAAAAANAA0AAAF/2AijmRpnmiqruk0UNHCzjRKKDhU1Twt4EBJb+iCyUg/oGJQKsaGp1tuN2oUgIzjSKrQQZFKhZDkIDAKj1Iy+B2tcUxfON62YrUsOy7bHpXPaTx/aH2FhoeICRYGBwEIiSZOeCUBAJYZGJAkXF4mHZagGpoib2Inn6AABqMJpXQkHBupj6N6CnwnCJUHF6wig4G+wsPExcbHX5LHyltAncScVKVjw9Okc8WuIra4w9xawMfhyOTl5ufoPMys6ybRvu8m1qPzatj09yXfrPsn46z/0glM1G5GwS/xaCT8Uo9FQyjaSBSMWOfKnkkL+/UJ2CoMtV9mCFXLZ07jOY4DDQKFAAAh+QQEFAAAACwAAAwACgARAAAFQmAiJtNARcsoEkoLVaPQzlI8t8PYFDOTjg4Co/BQGY/IpHKpshgOAYSKEwBYM5hRx8rViBpbLsAw4mzE0hGieriMQgAh+QQEFAAAACwAABcACgARAAAFQGCSTAMVLWJKKCxUpQIrS7DMDmlTyAyaOgRG4ZEqGo/<KEY> /></div></div><div id="lolak" class="lola" style="position:fixed;top:0;left:0;width:100%;height:100%;z-index:9000;background-color:rgba(20,20,20,0.6);display:' + this.hidden + ';filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=\'#99202020\',endColorstr=\'#99202020\');"></div>';
        document.body.appendChild(lola);
        if (!!this.timeout) {
          setTimeout(function(){ this.active = false; }.bind(this), this.timeout*1000 );
        }
      },
      isActive: function(active) {
        return (active) ? 'block' : 'none';
      },
      toggle: function() {
        var lola = document.querySelector('#lola');
        if (lola) {
          lola.style.display = this.hidden;
          document.querySelector('#lolak').style.display = this.hidden; 
        }
      }
    });
  </script>
</dom-module>
{'fraction_non_alphanumeric': 0.16058099657050637, 'fraction_numerical': 0.055880572927173695, 'mean_word_length': 3.519598906107566, 'pattern_counts': {'":': 0, '<': 38, '<?xml version=': 0, '>': 38, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '602652', 'n_tokens_mistral': 2149, 'n_tokens_neox': 1985, 'n_words': 178}