<commit_before>/* to define device is mobile */
;(function ($, _, undefined)
{
	'use strict';

	var sUserAgent = window.navigator.userAgent || window.navigator.vendor || window.opera,
		isIOS = /iPhone|iPad|iPod/i.test(sUserAgent),
		isAndroid = /Android/i.test(sUserAgent),
		isMobile = /webOS|BlackBerry|IEMobile|Opera Mini/i.test(sUserAgent);

	_.isMobile = isIOS || isAndroid || isMobile;
	_.isAndroid = isAndroid;
	_.isIOS = isIOS;
	_.isTouchable = ('ontouchstart' in window) ||
		(window.DocumentTouch && document instanceof DocumentTouch) ||
		window.navigator.maxTouchPoints;

	_.isIE = !!(document.all && document.compatMode) || window.navigator.msPointerEnabled;
})(window.jQuery, window._);<commit_msg>add detection of iPadOS 13<commit_after>/* to define device is mobile */
;(function ($, _, undefined)
{
	'use strict';

	var sUserAgent = window.navigator.userAgent || window.navigator.vendor || window.opera,
		isIOS = /iPhone|iPad|iPod/i.test(sUserAgent),
		isAndroid = /Android/i.test(sUserAgent),
		isMobile = /webOS|BlackBerry|IEMobile|Opera Mini/i.test(sUserAgent);

	_.isMobile = isIOS || isAndroid || isMobile;

	// test for iPadOS 13
	if (!_.isMobile && /Macintosh/i.test(sUserAgent) && /Intel Mac/i.test(sUserAgent) && /Version\/13/i.test(sUserAgent))
	{
		isIOS = true;
		_.isMobile = true;
	}

	_.isAndroid = isAndroid;
	_.isIOS = isIOS;
	_.isTouchable = ('ontouchstart' in window) ||
		(window.DocumentTouch && document instanceof DocumentTouch) ||
		window.navigator.maxTouchPoints;

	_.isIE = !!(document.all && document.compatMode) || window.navigator.msPointerEnabled;
})(window.jQuery, window._);
{'fraction_non_alphanumeric': 0.15621156211562115, 'fraction_numerical': 0.0036900369003690036, 'mean_word_length': 4.72887323943662, 'pattern_counts': {'":': 0, '<': 3, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5174789', 'n_tokens_mistral': 592, 'n_tokens_neox': 562, 'n_words': 107}