<commit_before><?php

$type = (false ? 'inline' : 'attachment');
$ext = ($_REQUEST['mode'] !== "css" ? "js" : "css");
$mime = ($_REQUEST['mode'] !== "css" ? "text/javascript" : "text/css");
$dir = !empty($_REQUEST['min']) ? 'dist' : 'src';
$min = !empty($_REQUEST['min']) ? 'min.' : '';
$files = explode('-', preg_replace("/[^a-z0-9-]/", '', substr($_REQUEST['modules'], 0, 1024)));
if (!$files || $files === ['']) {
    $content = file_get_contents($dir.'/pnotify.'.$ext);
    header("Content-Disposition: $type; filename=pnotify.custom.$min$ext");
    header("Content-Length: ".strlen($content));
    header("Content-Type: $mime");
    echo $content;
    exit;
}
sort($files);

$content = file_get_contents("$dir/pnotify.$ext");
foreach ($files as $cur_file) {
    $filename = "$dir/pnotify.$cur_file.$ext";
    if (!file_exists($filename)) {
        $filename_other = "$dir/pnotify.$cur_file.".($ext === "css" ? "js" : "css");
        if (file_exists($filename_other)) {<commit_msg>Added modules included comment in build files. Closes #143.<commit_after><?php

$type = (false ? 'inline' : 'attachment');
$ext = ($_REQUEST['mode'] !== "css" ? "js" : "css");
$mime = ($_REQUEST['mode'] !== "css" ? "text/javascript" : "text/css");
$dir = !empty($_REQUEST['min']) ? 'dist' : 'src';
$min = !empty($_REQUEST['min']) ? 'min.' : '';
$files = explode('-', preg_replace("/[^a-z0-9-]/", '', substr($_REQUEST['modules'], 0, 1024)));
if (!$files || $files === ['']) {
    $content = file_get_contents($dir.'/pnotify.'.$ext);
    header("Content-Disposition: $type; filename=pnotify.custom.$min$ext");
    header("Content-Length: ".strlen($content));
    header("Content-Type: $mime");
    echo $content;
    exit;
}
sort($files);

if ($min === '') {
    $content = "/* PNotify modules included in this custom build file:\n".
    implode("\n", $files).
    "\n*/\n";
}

$content .= file_get_contents("$dir/pnotify.$ext");
foreach ($files as $cur_file) {
    $filename = "$dir/pnotify.$cur_file.$ext";
    if (!file_exists($filename)) {
        $filename_other = "$dir/pnotify.$cur_file.".($ext === "css" ? "js" : "css");
        if (file_exists($filename_other)) {
{'fraction_non_alphanumeric': 0.2617169373549884, 'fraction_numerical': 0.00788863109048724, 'mean_word_length': 4.4035087719298245, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5125507', 'n_tokens_mistral': 755, 'n_tokens_neox': 744, 'n_words': 144}