<commit_before><commit_msg>updata 0.9.2<commit_after>/* Eng.js  v0.9.2.beta.min
 * (c) 2017 <NAME>
 * Released under the APACHE2.0 License
 */
(function(){var A=function(a,b,c){b=typeof(a);if(b=="string"){return 1}if(b=="boolean"){return 2}if(b=="number"){return 3}if(a instanceof Array){return 4}if(b=="object"){for(c in a){return 5}}return 0};var B=function(a,b,c,d,e,f,g,h,i,j,k,l){f=a.childNodes,g=f.length,i=0,l=d.n;if(e){h=a.getAttribute(U[4]);if(h){h=h.trim(),h?(d.n++,c[h]={$_N:d.n,$_P:-1},k=c[h],b.push([h,k,a]),c=c[h],l=0):0}}while(i<g){if(f[i].nodeType==1){h=f[i].getAttribute(U[4]),j=1;if(h){h=h.trim(),h?(d.n++,c[h]={$_N:d.n,$_P:l},k=c[h],b.push([h,k,f[i]]),B(f[i],b,k,d),j=0):0}j?B(f[i],b,c,d):0}i++}};var C=function(a,b,c){c=b.length;while(c--){if(a==b[c]){break}}return c};var D=function(a,b,c,d,e,f){d=[],e=a.length,f=0,c?0:c=e;while(b<c){d[f]=a[b],b++,f++}return d};var E=function(a,b,c,d,e,f,g){d=a.length,e=0,f="",g=".";c!=undefined?d=c:0;while(e<d){if(e==d-1){g=""}b?f+=a[e]:f+=(a[e]+g),e++}return f};var F={"$_a":1,"$_b":1,"$_c":1,"$_d":1,"$_e":1,"$_f":1,"$_g":1,"$_h":1,"$_i":1,"$_j":1,"$_k":1,"$_l":1,"$_m":1,"$_n":1,"$_o":1,"$_p":1};var G=function(a,b,c,d,e,f,g,h){for(g in b){h=b[g];if(h instanceof Array){a[g]=[],H(a[g],h,c,d,e,f)}else{if(!F[g]){a[g]={},G(a[g],h,c,d,e,f)}}}};var H=function(a,b,c,d,e,f,g,h,i,j,k){g=b.length;while(g--){i=b[g],a[g]={},a[g].$_a=i.$_a,a[g].$_b=i.$_b,a[g].$_d=c[i.$_c],a[g].$_h=c[i.$_i],a[g].$_e=c[i.$_g],a[g].$_f=i.$_f,a[g].$_j=c[i.$_k],a[g].$_l=c[i.$_m];if(i.$_p){j=i.$_p,h=j.length;while(h--){k=c[i.$_o],k.$_eng=f,k.$_cache=f.$_cache,k.$_gData=f.$_data,e.push(k);k[j[h][0]]=d[j[h][1]]}}for(h in i){if(!F[h]){a[h]={},G(a[h],i,c)}}}};var I=function(a,b,c,d,e,f,g,h){d=b.length,h=[];while(d--){c=b[d].length,e=0,f=0;while(e<c){if(a[e]==b[d][e]){f++}else{break}e++}h[d]=f}c=h.length,f=-1,e=0;while(c--){h[c]?(h[c]>e?(e=h[c],f=c):0):0}if(f==-1){return}b=D(a,h[f]-1),e=0,c=b.length,h=[],g=-1;while(e<c){d=b[e];if(d){b[e+1]!=undefined?h.push(b[e+1]):0,g++}else{break}e+=2}if(g!=-1){return{a:g,b:f,c:h}}};var J=function(a,b,c,d){if(!a){return}b=a.length,c=[];if(b){while(b--){d=a[b].name;if(!M[3].test(d)){c.push([a[b].name,a[b].value])}}return c}return 0};var K=function(a,b,c,d,e,f,g,h,i){h=0,i=0,b?0:(b={},c=[]),e=a.nodeName,b.a={},b.a.a=e,b.a.b=J(a.attributes),c.push(a),d=a.childNodes;if(d){e=d.length}else{return}b.b=[];while(i<e){f=d[i].nodeType,f===1?(b.b[h]={},K(d[i],b.b[h],c),h++):0,f===3?(g=d[i].textContent.trim(),g?(g=g.replace(M[1],""),b.b[h]=g,h++,c.push(d[i])):0):0,i++}return[b,c]};var L=function(a,b,c,d,e,f,g,h){f=a.b,e=a.a.a,g=document.createElement(e),e=a.a.b;if(e){h=e.length;while(h--){g.setAttribute(e[h][0],e[h][1])}}d?b.appendChild(g):c=[],c.push(g);if(!f){return}h=f.length,d=0;while(d<h){e=f[d],A(e)==1?(a=document.createTextNode(e),c.push(a),g.appendChild(a)):L(e,g,c,1),d++}return[g,c]};var M=[/(\{\{[^{}]+\}\})/,/(\{\{[^{}]+\}\})/g,/({{|}})/g,/^(e\-)/,/(\>\=|\<\=|\>|\<|\=\=\=|\=\=|\=)/,];var N=function(s){var a=[],L=s.length,i=0,c,t="",f=1,k,g,o,b;while(i<L){c=s[i];if(f&&c=="="){a.push(t),a.push(c),t="",f=0,k=1,i++;continue}if(k&&c=="?"){t=t.split(M[4]),o=t.length,b=0;while(b<o){a.push(t[b]),b++}t="",k=0,a.push(c),g=1,i++,o=i;continue}if(g&&c==")"&&s[i+1]==":"){a.push(s.slice(o+1,i)),a.push(":"),a.push(s.slice(i+3,-1));break}t+=c,i++;if(i==L){a.push(t)}}return a};var O={"=":0,"==":0,"===":0,">=":1,"<=":2,">":3,"<":4,};var P=function(a){var b=N(a),c=b.length,d=0,e=[];if(c>2){c=b.length,e.push(b[2].replace(M[2],"").trim());if(c==9){e.push(O[b[3]])}while(d<c){d%2||d==2?0:e.push(b[d].trim()),d++}return e}};var Q=function(a,b,c,d,e){d=[],b=a.split(";"),c=b.length;while(c--){e=P(b[c]);if(e){d.push(e)}}if(d.length){return d}};var R=function(a,b,c,d,e){d=a.getAttribute(U[3]);if(d){d=d.trim(),a.removeAttribute(U[3]);if(d){d=Q(d);if(d){e=d.length;while(e--){if(!b[d[e][0]]){b[d[e][0]]=[]}b[d[e][0]].push({$_e:c?null:a,$_g:c?C(a,c):null,$_f:D(d[e],0)})}}}}};var S=function(a,b,c,d){d=a.getAttribute(U[2]);if(d){d=d.trim(),a.removeAttribute(U[2]);if(d){if(!b[d]){b[d]=[]}b[d].push({$_h:c?null:a,$_i:c?C(a,c):null});return 0}}return 1};var T={"e-input":"$_j","e-change":"$_l","e-event":"$_n","$_j":"$_k","$_l":"$_m","$_n":"$_o"};var U=["e-id","e-base","e-html","e-attr","e-for","prototype"];var V=function(a,b,c,d,e,f,g){var n,s,v,h,j,w,z,k=a.attributes,i=k.length;while(i--){n=k[i],s=n.name,h=T[s],w=0;if(h){v=n.value.trim(),a.removeAttribute(s);if(v){if(h=="$_n"){if(d==1){continue}n=[],w=1,z=v.split(";"),k=z.length;while(k--){n[k]=z[k].split(":")}}if((w&&c)||!w){if(!b[v]){b[v]=[]}j={},j[h]=c?0:a,j[T[h]]=c?C(a,c):0,w?j["$_p"]=n:0,b[v].push(j)}else{a.$_data=e,a.$_cache=f.$_cache,a.$_gData=f.$_data,a.$_eng=f,k=n.length;while(k--){a[n[k][0]]=g[n[k][1]]}}}}}};var W=function(a,b,c,d,e){b=document.createDocumentFragment(),d=document.createElement("div"),d.innerHTML=a.trim(),d=d.childNodes,c=d.length,e=0;while(e<c){b.appendChild(d[0]),e++}return b};var X=function(a,b,c,d){if(a){d=a.length;while(d--){c=b[a[d][0]].e,X(c,b);delete b[a[d][0]]}}};var Z=function(a,b,c){b=this,b.p=1,b.q=-1,b.r={},b.s=[],b.t=[0,1,2,3],b.u=[],b.v=a.cache?a.cache:{},b.w=[[]],b.x=a.data?a.data:{},b.y=a.event?a.event:{},b.a(),b.z={$_data:b.x,$_setToSelf:b.A,$_setToGlobal:b.B,$_watcher:b.C,$_event:b.y,$_watcherFor:b.D,$_cache:b.v},b.E={};if(a.el){A(a.el)==1?(b.z.$_el=W(a.el),b.c(b.z.$_el,b.r,"",0,b.x)):(b.z.$_el=a.el,b.c(a.el,0,"",0,b.x))}if(a.watcher){b.b(a.watcher,1)}if(a.watcherFor){b.b(a.watcherFor)}c=[],b.f(b.x,c,1),c=null;if(a.created){a.created(b.z)}return b.x};Z[U[5]].a=function(){var a=this;a.A=function(b,c,d,e){d={},e=A(c)==1?W(c):c,a.c(e,d,"",1),a.f(b,[],0,d,b),d=null;return e};a.B=function(b,c,d,e,f,g,h,i,j,k){c=a.r,d=a.x,j=b.key,k=b.data,e=A(b.el),b.base?g=b.base.trim():g="";if(e==1){b.el=W(b.el)}if(g){i=0,f=g.split("."),h=f.length;while(i<h){c=c[f[i]],d=d[f[i]],i++}e=A(k);if(!a.t[e]){c[j]={},c=c[j],g+="."+j}f.push(j)}else{f=[j],g=j,c[j]={},c=c[j]}d[j]=k,a.c(b.el,c,g,2,k),a.i(d,j,D(f,0),g,5),a.f(d[j],f,2),c=null,d=null;return b.el};a.C=function(b){a.b(b,1)};a.D=function(b){a.b(b)}};Z[U[5]].b=function(a,b,c,d){d=this,b?(d.F?0:d.F={},d=d.F):(d.G?0:d.G={},d=d.G);for(b in a){c=a[b];if(c){d[b.trim()]=c}}};Z[U[5]].c=function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){if(!a){return}f=a.childNodes,g=f.length,r=this,!b?(b=r.d(a,r.r,c,d,e),c=b[1],e=b[2],b=b[0]):0;if(!g){return}i=0,q=b;while(i<g){a=f[i],a?j=a.nodeType:j=-1;if(j==3){h=a.nodeValue.trim(),k=h.split(M[1]),m=k.length;if(m>1){n=0,o=[],p=[];while(n<m){if(M[1].test(k[n])){o.push(n),l=k[n].replace(M[2],""),k[n]=l,p.push(l)}n++}m=p.length,n=0;while(n<m){if(!q[p[n]]){q[p[n]]=[]}q[p[n]].push({$_d:!r.H?a:null,$_c:r.H?C(a,r.I):null,$_a:o,$_b:k}),n++}}}else{if(j==1){l=r.d(a,q,c,d,e),r.p?r.c(a,l[0],l[1],d,l[2]):0}}i++}};Z[U[5]].d=function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x){x=this,g=1,j=1,x.p=1,f=a.getAttribute(U[1]);if(f){f=f.trim(),a.removeAttribute(U[1]);if(f){if(!x.H){e=x.o(c.split("."),f,0,0,d)}}c?(c+="."+f):c+=f,b[f]={},b=b[f],g=0}if(!d){f=a.getAttribute(U[4]);if(f&&g){f=f.trim();if(f){x.H=1,j=0,x.q++,x.w[x.q]=[],x.s[x.q]=[];if(c){x.w[x.q]=c.split(".")}k={},l=[],m={n:-1},n=B(a,l,k,m,1),h=l.length,i=0,w=x.w[x.q];while(i<h){m={},u=[],v=[],s=i,t=0,o=l[i][1],p=l[i][0],r=l[i][2],q=o.$_N;if(i==0){o.e=r.parentNode,o.e.removeChild(r)}s++;while(s<h){l[s][1].$_P==q?(l[s][1].d=t,t++,v.push(s)):0,s++}s=t;while(s--){n=l[v[s]][2].parentNode,n.removeChild(l[v[s]][2]),u.push(n)}k=K(r),x.I=k[1],R(r,m,x.I),x.p=S(r,m,x.I);if(x.p){x.c(r,m,"")}t?o.c=[]:0;while(t--){o.c.push(C(u[t],x.I))}o.b=k[0],o.a=m;w.push(p),i++}x.E[x.q]={},m=null,u=null,v=null,x.u[x.q]=l,l=null,x.H=0}}x.H?(R(a,b,x.I),x.p=S(a,b,x.I)):(R(a,b),x.p=S(a,b))}else{R(a,b),x.p=S(a,b)}x.H?V(a,b,x.I,d,e,x.z,x.y,x.x):V(a,b,0,d,e,x.z,x.y,x.x),f=a.getAttribute(U[0]);if(f&&j&&!x.H){f=f.trim(),a.removeAttribute(U[0]),f?x.z[f]=a:0}return[b,c,e]};Z[U[5]].e=function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,Z){b=this,c=I(a,b.w);if(!c){return}d=b.r,e=b.x,f=0,g=a.length,i=g-1,g==1?h=d:0;while(f<g){d[a[f]]?d=d[a[f]]:(d[a[f]]={},d=d[a[f]]),e=e[a[f]],f==g-2?h=d:0,f++}g=e.length;if(!g){return}j=c.a,k=c.b;if(b.w[k].indexOf(a[a.length-1])==-1){return}n=c.c,m=b.u[k][j][1],o=m.a,p=m.b,q=m.c,l=m.d;if(j){g=j;while(g--){c=b.s[k][g];if(c){n[g]=c.indexOf(Number(n[g]))}}}c=b.u[k][j][0],w="$_"+k+j+c+E(n,1);if(b.G&&b.G[c]){s=b.G[c],t=[],x=a.join(".")+"."+(n.length?n.join(".")+".":""),f=0,g=e.length;while(f<g){Z=null,r={$_allow:1,$_data:e[f],$_forData:e,$_index:f,$_watcher:function(a){Z=a},$_pos:n.concat(f),$_gIndex:k,$_gData:b.x,$_gWatcher:b.C,$_eng:b.z},s(r,b.v);if(Z){for(v in Z){y=x+f+"."+v,z=Z[v],c={},c[y]=z,b.C(c)}}r.$_allow?t.push(f):0,f++}}b.s[k][j]=t;if(!b.E[k][w]){b.E[k][w]={a:[],b:[],c:[],d:[]}}u=b.E[k][w].a,v=b.E[k][w].b,s=b.E[k][w].c,z=b.E[k][w].d,r=b.E[k][w].e;if(r){g=r.length,t?(f=t.length):f=e.length,f<g?X(r,b.E[k]):0}b.E[k][w].e=[],h[a[i]]={},d=h[a[i]];if(j){f=n.length,x="$_"+k+(j-1)+b.u[k][j-1][0]+E(n,1,f-1),c=b.E[k][x].c[n[f-1]][l],b.E[k][x].e.push([w,l])}else{c=m.e}a=q?q.length:0,n=1,f=0,g=t?t.length:e.length,k=v.length,g>=k?f=k:0,k>=g?(n=0,f=g,g=k):0;while(f<g){if(n){i=L(p),v.push(i[0]);if(a){h=a,j=[];while(h--){j.push(i[1][q[h]])}s.push(j)}r={},l=[],z.push(l),G(r,o,i[1],b.y,l,b.z,b.x),u.push(r),c.appendChild(i[0])}else{u.pop(),z.pop(),c.removeChild(v.pop()),s.pop()}f++}t?g=t.length:g=u.length;while(g--){k=z[g],h=k.length;while(h--){k[h].$_data=e[t?t[g]:g]}d[t?t[g]:g]=u[g]}return t};Z[U[5]].f=function(a,b,c,d,e,f,g,h,i){var j=A(a),k,l,m=b,n,o,p=0,q=-1,r,s=this;for(k in a){l=a[k],o=null,r=0;if(f&&k!=f[p]){continue}if(g){q++,h=q,i=f?f[p]:p}if(c){j=A(l)}b=D(m,0),b.push(k),n=E(b);if(j==4&&c==1){o=s.e(b),r=1}c?s.i(a,k,D(b,0),n,j,h,i):s.j(b,d,e),s.t[j]?0:s.f(l,b,c,d,e,o,r,h,i),p++}m=null,b=null};Z[U[5]].g=function(a,b,c,d,e){for(c in a){d=a[c],e=A(d),b&&b[c]?a[c]=b[c]:(e==5?this.g(d):a[c]="")}};Z[U[5]].h=function(a,b,c,d){for(b in a){c=a[b],d=A(c),d==5||d==4?this.h(c):a[b]="";delete a[b]}};Z[U[5]].i=function(a,b,c,d,e,f,g){var h=a[b],i=this,j=e,k,l,m=i.z;if(i.F&&i.F[d]){l=i.F[d];delete i.F[d];m.$_value=undefined,m.$_destroy=0,l(undefined,h,m,i.v),m.$_value==undefined?0:h=m.$_value,m.$_destroy?l=null:0}Object.defineProperty(a,b,{enumerable:1,configurable:1,set:function(s){if(i.F){l=i.F[d];if(l)delete i.F[d]}if(h!=s){j=A(s);if(e==5){i.g(h,s),i.f(h,c,1)}else{if(e==4){k=D(c,0),i.h(h),h=s,i.f(h,k,1,0,0,i.e(k),1)}else{if(l){m.$_value=undefined,m.$_destroy=0,l(h,s,m,i.v),m.$_value==undefined?0:s=m.$_value,m.$_destroy?l=null:0}i.t[j]?(h=s,i.j(c,0,0,f,g)):0}}}},get:function(){return h}});i.t[j]?i.j(c,0,0,f,g):0};Z[U[5]].j=function(a,b,c,d,e,f){f=this.k(a,b,c,d,e);if(f){this.l(f,a,c)}};Z[U[5]].k=function(a,b,c,d,e){if(!a){return}var f=a.length,g=this,h,i=0,j=b?b:g.r;while(i<f){if(!(j&&a)){return}j=j[a[i]];if(i==f-2){h=j}i++}if(j&&(j.$_index||j.$_value)){h=j}if(h){g.J=d,g.K=e;if(h.$_index){g.l(h.$_index,a,c)}if(h.$_value){g.l(h.$_value,a,c)}}return j};Z[U[5]].l=function(a,b,c){var d=a.length,e,f,g=this;while(d--){e=a[d];if(e.$_d){e.$_d.textContent=g.n(b,e.$_a,e.$_b,c)}if(e.$_e){g.m(e.$_e,b,e.$_f,c)}if(e.$_h){e.$_h.innerHTML=g.o(b,b[b.length-1],c)}if(e.$_j){f=g.o(b,b[b.length-1],c,1),e.$_j.value=f[0];e.$_j.oninput=function(){f[1][f[2]]=this.value}}if(e.$_l){f=g.o(b,b[b.length-1],c,1),e.$_l.value=f[0];e.$_l.onchange=function(){f[1][f[2]]=this.value}}}};Z[U[5]].m=function(a,b,c,d){var e=this.o(b,c[0],d),f=c[1],g,h,i,j=c.length,k,l,m=1;if(j==2){k=1,m=0,h=e}if(j==4){e?k=1:0,m=0,h=c[2],i=c[3]}if(j==6){f=c[2],g=c[1],m=0,g==0?(e==c[3]?k=1:0):0,g==1?(e>=c[3]?k=1:0):0,g==2?(e<=c[3]?k=1:0):0,g==3?(e>c[3]?k=1:0):0,g==4?(e<c[3]?k=1:0):0,h=c[4],i=c[5]}if(m){return}f?f=f.toLowerCase():0;if(f=="class"){l=" "}if(f=="style"){l=";"}j>2&&l?(e=a.getAttribute(f),e?(e=e.replace(l+i,"").replace(l+h,"").trim()):0,e?(e=e+l+(k?h:i)):(e=l+(k?h:i)),a.setAttribute(f,e)):a.setAttribute(f,k?h:i)};Z[U[5]].n=function(a,b,c,d,e,f,g,h){e=b.length,h=D(c,0);while(e--){f=c[b[e]],g=this.o(a,f,d),h[b[e]]=g}return E(h,1)};Z[U[5]].o=function(a,b,c,d,e,f,g,h,i){i=this,f=a.length,g=c?c:i.x,h=0,c=g;if(e){f++}if(b=="$_index"){return i.J}while(h<f){h!=f-1?g=g[a[h]]:g=g[b];if(g==undefined){break}if(h==f-2){c=g}h++}if(b=="$_value"){return c[i.K]}g==undefined?g="":0;if(d){return[g,c,b]}return g};Eng=Z}());
{'fraction_non_alphanumeric': 0.45152603231597843, 'fraction_numerical': 0.02872531418312388, 'mean_word_length': 15.16754617414248, 'pattern_counts': {'":': 34, '<': 33, '<?xml version=': 0, '>': 16, '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': '2811227', 'n_tokens_mistral': 7896, 'n_tokens_neox': 7884, 'n_words': 99}