<commit_before>/*!
 * Cookie.js, v1.4.1
 *
 * A tiny (1.24 KB gzipped), stand-alone JavaScript utility for
 * managing cookies in the browser.
 *
 * Copyright (c) 2012-2016 <NAME>
 * Licensed under MIT (http://creativecommons.org/licenses/MIT/)
 * https://github.com/jonlabelle/cookie-js
 */
(function(l,n){function m(a,b){for(var c in a)a.hasOwnProperty(c)&&b(c,a[c])}var g=encodeURIComponent,h=decodeURIComponent;l.Cookie={createCookieString:function(a,b,c,d){d=d||{};a=g(a)+"="+(c?g(b):b);b=d.expires;c=d.path||"/";var e=d.domain;if("object"===typeof d){if(b instanceof Date)a+="; expires="+b.toUTCString();else if(!isNaN(parseFloat(b))&&isFinite(b)){var f=new Date;f.setDate(f.getDate()+b);a+="; expires="+f.toUTCString()}"string"===typeof c&&""!==c&&(a+="; path="+c);"string"===typeof e&&
""!==e&&(a+="; domain="+e);!0===d.secure&&(a+="; secure")}return a},createCookieHashString:function(a){if("object"!==typeof a)return"";var b=[];m(a,function(a,d){"function"!==typeof d&&"undefined"!==typeof d&&b.push(g(a)+"="+g(String(d)))});return b.join("&")},parseCookieHash:function(a){var b=a.split("&"),c=null,d={};if(a.length){a=0;for(var e=b.length;a<e;a++)c=b[a].split("="),d[h(c[0])]=h(c[1])}return d},parseCookieString:function(a,b,c){var d={};if("string"===typeof a&&0<a.length){b=!1===b?function(a){return a}:
h;a=a.split(/;\s/g);for(var e=null,f=null,g=null,k=0,l=a.length;k<l;k++){g=a[k].match(/([^=]+)=/i);if(g instanceof Array)try{e=h(g[1]),f=b(a[k].substring(g[1].length+1))}catch(p){}else e=h(a[k]),f="";"undefined"!==typeof c&&c.reverseCookieLoading?"undefined"===typeof d[e]&&(d[e]=f):d[e]=f}}return d},exists:function(a){return"string"!==typeof a||""===a?!1:this.parseCookieString(document.cookie,!0).hasOwnProperty(a)},get:function(a,b){var c,d;"function"===typeof b?(d=b,b={}):"object"===typeof b?d=b.converter:
b={};c=this.parseCookieString(document.cookie,!b.raw,b)[a];return"undefined"===typeof c?null:"function"===typeof d?d(c):c},getSub:function(a,b,c,d){a=this.getSubs(a,d);return null===a||"string"!==typeof b||""===b||"undefined"===typeof a[b]?null:"function"===typeof c?c(a[b]):a[b]},getSubs:function(a,b){var c=this.parseCookieString(document.cookie,!1,b);return"string"===typeof c[a]?this.parseCookieHash(c[a]):null},remove:function(a,b){if("string"!==typeof a||""===a)return"";var c=b||{},d={expires:new Date(0)};
if(c instanceof Array)b=c.concat(d);else{var e={},f;for(f in c)c.hasOwnProperty(f)&&(e[f]=c[f]);for(f in d)d.hasOwnProperty(f)&&(e[f]=d[f]);b=e}return this.set(a,"",b)},removeSub:function(a,b,c){if("string"!==typeof a||""===a||"string"!==typeof b||""===b)return"";c=c||{};var d=this.getSubs(a);if("object"===typeof d&&d.hasOwnProperty(b)){delete d[b];if(c.removeIfEmpty){for(var e in d)if(d.hasOwnProperty(e)&&"function"!==typeof d[e]&&"undefined"!==typeof d[e])return this.setSubs(a,d,c);return this.remove(a,
c)}return this.setSubs(a,d,c)}return""},set:function(a,b,c){if("string"!==typeof a||""===a||"undefined"===typeof b)return null;c=c||{};a=this.createCookieString(a,b,!c.raw,c);return document.cookie=a},setSub:function(a,b,c,d){if("string"!==typeof a||""===a||"string"!==typeof b||""===b||"undefined"===typeof c)return"";var e=this.getSubs(a);e||(e={});e[b]=c;return this.setSubs(a,e,d)},setSubs:function(a,b,c){if("string"!==typeof a||""===a||"object"!==typeof b)return"";a=this.createCookieString(a,this.createCookieHashString(b),
!1,c);return document.cookie=a},enabled:function(){return navigator.cookieEnabled},clear:function(){for(var a=document.cookie.split(";"),b=0;b<a.length;b++){var c=a[b],d=c.indexOf("="),c=-1<d?c.substr(0,d):c;document.cookie=c+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT"}}}})(window);<commit_msg>Update minified version.<commit_after>/*!
 * Cookie.js, v1.4.1
 *
 * A tiny (1.24 KB gzipped), stand-alone JavaScript utility for
 * managing cookies in the browser.
 *
 * Copyright (c) 2012-2016 <NAME>
 * Licensed under MIT (http://creativecommons.org/licenses/MIT/)
 * https://github.com/jonlabelle/cookie-js
 */
(function(l,n){function m(a,b){for(var c in a)a.hasOwnProperty(c)&&b(c,a[c])}var g=encodeURIComponent,h=decodeURIComponent;l.Cookie={createCookieString:function(a,b,c,d){d=d||{};a=g(a)+"="+(c?g(b):b);b=d.expires;c=d.path||"/";var e=d.domain;if("object"===typeof d){if(b instanceof Date)a+="; expires="+b.toUTCString();else if(!isNaN(parseFloat(b))&&isFinite(b)){var f=new Date;f.setDate(f.getDate()+b);a+="; expires="+f.toUTCString()}"string"===typeof c&&""!==c&&(a+="; path="+c);"string"===typeof e&&
""!==e&&(a+="; domain="+e);!0===d.secure&&(a+="; secure")}return a},createCookieHashString:function(a){if("object"!==typeof a)return"";var b=[];m(a,function(a,d){"function"!==typeof d&&"undefined"!==typeof d&&b.push(g(a)+"="+g(String(d)))});return b.join("&")},parseCookieHash:function(a){var b=a.split("&"),c={};if(a.length)for(var d=0,e=b.length;d<e;d++)a=b[d].split("="),c[h(a[0])]=h(a[1]);return c},parseCookieString:function(a,b,c){var d={};if("string"===typeof a&&0<a.length){b=!1===b?function(a){return a}:
h;a=a.split(/;\s/g);for(var e=null,f=null,g=null,k=0,l=a.length;k<l;k++){g=a[k].match(/([^=]+)=/i);if(g instanceof Array)try{e=h(g[1]),f=b(a[k].substring(g[1].length+1))}catch(p){}else e=h(a[k]),f="";"undefined"!==typeof c&&c.reverseCookieLoading?"undefined"===typeof d[e]&&(d[e]=f):d[e]=f}}return d},exists:function(a){return"string"!==typeof a||""===a?!1:this.parseCookieString(document.cookie,!0).hasOwnProperty(a)},get:function(a,b){var c,d;"function"===typeof b?(d=b,b={}):"object"===typeof b?d=b.converter:
b={};c=this.parseCookieString(document.cookie,!b.raw,b)[a];return"undefined"===typeof c?null:"function"===typeof d?d(c):c},getSub:function(a,b,c,d){a=this.getSubs(a,d);return null===a||"string"!==typeof b||""===b||"undefined"===typeof a[b]?null:"function"===typeof c?c(a[b]):a[b]},getSubs:function(a,b){var c=this.parseCookieString(document.cookie,!1,b);return"string"===typeof c[a]?this.parseCookieHash(c[a]):null},remove:function(a,b){if("string"!==typeof a||""===a)return"";var c=b||{},d={expires:new Date(0)};
if(c instanceof Array)b=c.concat(d);else{var e={},f;for(f in c)c.hasOwnProperty(f)&&(e[f]=c[f]);for(f in d)d.hasOwnProperty(f)&&(e[f]=d[f]);b=e}return this.set(a,"",b)},removeSub:function(a,b,c){if("string"!==typeof a||""===a||"string"!==typeof b||""===b)return"";c=c||{};var d=this.getSubs(a);if("object"===typeof d&&d.hasOwnProperty(b)){delete d[b];if(c.removeIfEmpty){for(var e in d)if(d.hasOwnProperty(e)&&"function"!==typeof d[e]&&"undefined"!==typeof d[e])return this.setSubs(a,d,c);return this.remove(a,
c)}return this.setSubs(a,d,c)}return""},set:function(a,b,c){if("string"!==typeof a||""===a||"undefined"===typeof b)return null;c=c||{};a=this.createCookieString(a,b,!c.raw,c);return document.cookie=a},setSub:function(a,b,c,d){if("string"!==typeof a||""===a||"string"!==typeof b||""===b||"undefined"===typeof c)return"";var e=this.getSubs(a);e||(e={});e[b]=c;return this.setSubs(a,e,d)},setSubs:function(a,b,c){if("string"!==typeof a||""===a||"object"!==typeof b)return"";a=this.createCookieString(a,this.createCookieHashString(b),
!1,c);return document.cookie=a},enabled:function(){if(navigator.cookieEnabled)return!0;var a=!1;this.set("_","_");"_"===this.get("_")&&(a=!0,this.remove("_"));return a},clear:function(){for(var a=document.cookie.split(";"),b=0;b<a.length;b++){var c=a[b],d=c.indexOf("="),c=-1<d?c.substr(0,d):c;document.cookie=c+"=;expires=Thu, 01 Jan 1970 00:00:00 GMT"}}}})(window);
{'fraction_non_alphanumeric': 0.3055742108797851, 'fraction_numerical': 0.012222968435191404, 'mean_word_length': 14.775423728813559, 'pattern_counts': {'":': 0, '<': 15, '<?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': '51452', 'n_tokens_mistral': 3200, 'n_tokens_neox': 3168, 'n_words': 256}