<commit_before>/*
 Range.js v0.0.8 | https://github.com/nathamanath/range/license
*/
(function(h,g){(function(f){var c=h.R||null;"function"===typeof c&&c.Q?c("range",[],function(){return f}):h.Range=f})(function(f){function c(a,b){this.input=a;this.M=b||{};this.value=parseFloat(a.value);this.max=parseFloat(a.getAttribute("max"))||100;this.min=parseFloat(a.getAttribute("min"))||0;this.step=parseFloat(a.getAttribute("step"))||1}c.prototype={h:function(){this.H();this.q();this.b(this.value);this.D();return this},D:function(){this.input.getAttribute("list")&&this.v()},H:function(){var a=
this.input;this.c=this.K();a.style.display="none";a.parentNode.insertBefore(this.c,a.nextSibling);this.g();a=this.A();this.d.style.width=a;this.track.style.paddingRight=a},v:function(){var a=g.createElement("div"),b=this.w();a.appendChild(b);a.className="ticks";this.u(b);this.O=a;this.c.appendChild(this.O);this.J(a)},J:function(a){a=a.style;a.padding=["0",this.e/2,"px"].join("");a.width="100%";a.position="absolute"},w:function(){var a=g.createElement("div"),b=a.style;a.className="ticks-inner";b.width=
"100%";b.position="relative";return a},u:function(a){for(var b=(this.max-this.min)/this.step,d=100/b,k,e=0;e<=b;e++)k=d*e,a.appendChild(this.t(k))},t:function(a){var b=g.createElement("div");b.className="tick";b.style.position="absolute";b.style.left=[a,"%"].join("");return b},g:function(){var a=this.c.getBoundingClientRect();this.p=a.left;this.P=a.right-this.p},A:function(){this.e=this.M.pointerWidth||this.d.offsetWidth;return[this.e,"px"].join("")},K:function(){var a=this.G();this.track=this.L();
this.d=this.F();a.appendChild(this.track);this.track.appendChild(this.d);a.addEventListener("selectstart",function(a){a.preventDefault()});return a},G:function(){var a=g.createElement("div"),b=this.e||0,d=a.style;a.className="range-replacement";d.position="relative";d.paddingRight=[b,"px"].join("");return a},L:function(){var a=g.createElement("div");a.className="track";return a},F:function(){var a=g.createElement("div"),b=a.style;a.className="point";b.position="relative";var d=this.e;d&&(b.width=
d+"px");return a},q:function(){var a=this,b=this.c;b.addEventListener("mousedown",function(b){a.k(b,["mousedown","mousemove","mouseup"],a.l);a.s()});b.addEventListener("touchstart",function(b){a.k(b,["touchstart","touchmove","touchend"],a.B)});b.addEventListener("mouseup",function(){a.j("mouseup")});b.addEventListener("touchend",function(){a.j("touchend")})},s:function(){var a=this;if(!a.hasFocus){a.hasFocus=!0;f.a(a.input,"focus");var b=function(b){a.C(b)},d=function(k){a.r(k,d,b)};h.addEventListener("keydown",
b);h.addEventListener("mousedown",d)}},C:function(a){var b=a.keyCode||a.charCode;if(40===b||37===b)a.preventDefault(),this.b(this.value-this.step);if(38===b||39===b)a.preventDefault(),this.b(this.value+this.step)},r:function(a,b,d){for(var k=this.input,e=this.c,c=e.querySelectorAll("*"),g=[],l=0,m=c.length;l<m;l++)g.push(c[l]);g.push(e,k);0>g.indexOf(a.target)&&(this.hasFocus=!1,h.removeEventListener("mousedown",b),h.removeEventListener("keydown",d),f.a(k,"blur"))},update:function(){this.value=this.n(parseFloat(this.input.value));
this.g();this.b(this.value);return this},k:function(a,b,d){function c(a){a.preventDefault();return!1}var e=this,g,n,l=b[1],m=b[2];e.oldValue=e.value;e.m(d.call(e,a));h.addEventListener(l,g=function(a){e.m(d.call(e,a))});h.addEventListener("selectstart",c);h.addEventListener(m,n=function(){e.f();h.removeEventListener(l,g);h.removeEventListener(m,n);h.removeEventListener("selectstart",c)});f.a(e.input,b[0])},j:function(a){this.f();f.a(this.input,a);f.a(this.input,"click")},l:function(a){var b;this.l=
b="undefined"===typeof h.event?function(a){return a.pageX}:function(){return h.event.clientX};return b(a)},B:function(a){return a.changedTouches[0].clientX},m:function(a){this.g();this.b(this.n(this.I(a-this.p,[0,this.P],[this.min,this.max])))},b:function(a){if(a!==this.N){this.N=this.input.value=this.newValue=a;var b=this.min;this.d.style.left=[(a-b)/(this.max-b)*100||0,"%"].join("");this.oldValue&&f.a(this.input,"input");this.f()}},f:function(){var a=this.newValue,b=this.input;this.oldValue!==a&&
(b.value=this.oldValue=this.value=a,f.a(b,"change"))},n:function(a){var b=(this.step+"").split(".")[1];return Math.min(Math.max((Math.round(a/this.step)*this.step).toFixed(b?b.length:0),this.min),this.max)},I:function(a,b,d){var c=b[0],e=d[0];return(a-c)/(b[1]-c)*(d[1]-e)+e}};c.create=function(a,b){return(new c(a,b)).h()};c.h=function(a,b){for(var d=g.querySelectorAll(a||"input[type=range]"),f=[],e=0,h=d.length;e<h;e++)f.push(c.create(d[e],b));return f};return{init:c.h,create:c.create}}({i:{},create:function(f){var c,
a=this;c=g.createEvent?function(b){var d=g.createEvent("HTMLEvents");d.initEvent(b,!0,!0);return a.o(b,d)}:function(b){var d=g.createEventObject();d.T=b;return a.o(b,d)};a.create=c;return c(f)},o:function(f,c){c.S=f;return this.i[f]=c},get:function(f){return this.i[f]||this.create(f)},a:function(f,c){var a,b=this;a=g.createEvent?function(a,c){a.dispatchEvent(b.get(c))}:function(a,c){var e=["on",c].join("");if("input"!==c)a.fireEvent(e,b.get(c));else if(a[e])a[e]()};b.a=a;a(f,c)}}))})(window,document);<commit_msg>build<commit_after>/*
 Range.js v0.0.8 | https://github.com/nathamanath/range/license
*/
(function(h,g){(function(e){var c=h.U||null;"function"===typeof c&&c.T?c("range",[],function(){return e}):h.Range=e})(function(e){function c(a,b){this.input=a;this.O=b||{};this.value=parseFloat(a.value);this.max=parseFloat(a.getAttribute("max"))||100;this.min=parseFloat(a.getAttribute("min"))||0;this.step=parseFloat(a.getAttribute("step"))||1}c.prototype={h:function(){this.J();this.s();this.c(this.value);this.G();return this},G:function(){this.input.getAttribute("list")&&this.A()},J:function(){var a=
this.input;this.b=this.M();a.style.display="none";a.parentNode.insertBefore(this.b,a.nextSibling);this.g();a=this.C();this.d.style.width=a;this.track.style.paddingRight=a},A:function(){var a=g.createElement("div"),b=this.B();a.appendChild(b);a.className="ticks";this.w(b);this.R=a;this.b.appendChild(this.R);this.L(a)},L:function(a){a=a.style;a.padding=["0",this.e/2,"px"].join("");a.width="100%";a.position="absolute"},B:function(){var a=g.createElement("div"),b=a.style;a.className="ticks-inner";b.width=
"100%";b.position="relative";return a},w:function(a){for(var b=(this.max-this.min)/this.step,f=100/b,d,e=0;e<=b;e++)d=f*e,a.appendChild(this.v(d))},v:function(a){var b=g.createElement("div");b.className="tick";b.style.position="absolute";b.style.left=[a,"%"].join("");return b},g:function(){var a=this.b.getBoundingClientRect();this.r=a.left;this.S=a.right-this.r},C:function(){this.e=this.O.pointerWidth||this.d.offsetWidth;return[this.e,"px"].join("")},M:function(){var a=this.I();this.track=this.N();
this.d=this.H();a.appendChild(this.track);this.track.appendChild(this.d);a.addEventListener("selectstart",function(a){a.preventDefault()});return a},I:function(){var a=g.createElement("div"),b=this.e||0,f=a.style;a.className="range-replacement";f.position="relative";f.paddingRight=[b,"px"].join("");return a},N:function(){var a=g.createElement("div");a.className="track";return a},H:function(){var a=g.createElement("div"),b=a.style;a.className="point";b.position="relative";var f=this.e;f&&(b.width=
f+"px");return a},s:function(){var a=this,b=this.b;b.addEventListener("mousedown",function(b){1===(b.keyCode||b.which)&&(a.l(b,["mousedown","mousemove","mouseup"],a.m),a.u())});b.addEventListener("touchstart",function(b){a.l(b,["touchstart","touchmove","touchend"],a.D)});b.addEventListener("mouseup",function(){a.k("mouseup")});b.addEventListener("touchend",function(){a.k("touchend")})},u:function(){var a=this;if(!a.hasFocus){a.hasFocus=!0;e.a(a.input,"focus");var b=function(b){a.F(b)},f=function(d){a.t(d,
f,b)};h.addEventListener("keydown",b);h.addEventListener("mousedown",f)}},F:function(a){var b=a.keyCode||a.charCode;if(40===b||37===b)a.preventDefault(),this.c(this.value-this.step);else if(38===b||39===b)a.preventDefault(),this.c(this.value+this.step)},t:function(a,b,f){for(var d=this.input,c=this.b,g=c.querySelectorAll("*"),k=[],l=0,m=g.length;l<m;l++)k.push(g[l]);k.push(c,d);0>k.indexOf(a.target)&&(this.hasFocus=!1,h.removeEventListener("mousedown",b),h.removeEventListener("keydown",f),e.a(d,"blur"))},
update:function(){this.value=this.p(parseFloat(this.input.value));this.g();this.c(this.value);return this},o:function(){var a,b=this;a="undefined"!==typeof b.b.onselectstart?function(){h.addEventListener("selectstart",b.P=function(a){a.preventDefault()})}:function(){g.body.style.MozUserSelect="none"};b.o=a;a()},i:function(){var a,b=this;a="undefined"!==typeof b.b.onselectstart?function(){h.removeEventListener("selectstart",b.P)}:function(){g.body.style.MozUserSelect=""};b.i=a;a()},l:function(a,b,
f){var d=this,c,g,k=b[1],l=b[2];d.oldValue=d.value;d.n(f.call(d,a));h.addEventListener(k,c=function(a){d.n(f.call(d,a))});d.o();h.addEventListener(l,g=function(){d.f();h.removeEventListener(k,c);h.removeEventListener(l,g);d.i()});e.a(d.input,b[0])},k:function(a){this.f();e.a(this.input,a);e.a(this.input,"click")},m:function(a){var b;this.m=b="undefined"===typeof h.event?function(a){return a.pageX}:function(){return h.event.clientX};return b(a)},D:function(a){return a.changedTouches[0].clientX},n:function(a){this.g();
this.c(this.p(this.K(a-this.r,[0,this.S],[this.min,this.max])))},c:function(a){if(a!==this.Q){this.Q=this.input.value=this.newValue=a;var b=this.min;this.d.style.left=[(a-b)/(this.max-b)*100||0,"%"].join("");this.oldValue&&e.a(this.input,"input");this.f()}},f:function(){var a=this.newValue,b=this.input;this.oldValue!==a&&(b.value=this.oldValue=this.value=a,e.a(b,"change"))},p:function(a){var b=(this.step+"").split(".")[1];return Math.min(Math.max((Math.round(a/this.step)*this.step).toFixed(b?b.length:
0),this.min),this.max)},K:function(a,b,f){var d=b[0],c=f[0];return(a-d)/(b[1]-d)*(f[1]-c)+c}};c.create=function(a,b){return(new c(a,b)).h()};c.h=function(a,b){for(var f=g.querySelectorAll(a||"input[type=range]"),d=[],e=0,h=f.length;e<h;e++)d.push(c.create(f[e],b));return d};return{init:c.h,create:c.create}}({j:{},create:function(e){var c,a=this;c=g.createEvent?function(b){var f=g.createEvent("HTMLEvents");f.initEvent(b,!0,!0);return a.q(b,f)}:function(b){var f=g.createEventObject();f.W=b;return a.q(b,
f)};a.create=c;return c(e)},q:function(e,c){c.V=e;return this.j[e]=c},get:function(e){return this.j[e]||this.create(e)},a:function(e,c){var a,b=this;a=g.createEvent?function(a,d){a.dispatchEvent(b.get(d))}:function(a,d){var c=["on",d].join("");if("input"!==d)a.fireEvent(c,b.get(d));else if(a[c])a[c]()};b.a=a;a(e,c)}}))})(window,document);
{'fraction_non_alphanumeric': 0.2948311252099272, 'fraction_numerical': 0.009703302855010263, 'mean_word_length': 13.446091644204852, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '5672320', 'n_tokens_mistral': 4487, 'n_tokens_neox': 4462, 'n_words': 142}