<commit_before>{* $Id$ *}
{strip}
	{if $files[$changes].isgal eq 1}
		{if $files[$changes].perms.tiki_p_view_file_gallery eq 'y'}
			{self_link _icon='folder_go' _menu_text=$menu_text _menu_icon=$menu_icon galleryId=$files[$changes].id}
				{tr}Go to{/tr}
			{/self_link}
		{/if}

		{if $files[$changes].perms.tiki_p_create_file_galleries eq 'y'}
			{self_link _icon='page_edit' _menu_text=$menu_text _menu_icon=$menu_icon edit_mode=1 galleryId=$files[$changes].id}
				{tr}Properties{/tr}
			{/self_link}
		{/if}

		{if $files[$changes].perms.tiki_p_upload_files eq 'y'
			and ( $files[$changes].perms.tiki_p_admin_file_galleries eq 'y' or ($user and $files[$changes].user eq $user)
			or $files[$changes].public eq 'y' )}
			<a href="tiki-upload_file.php?galleryId={$files[$changes].id}{if !empty($filegals_manager)}&amp;filegals_manager={$filegals_manager|escape}{/if}">
				{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='upload'}
			</a>
		{/if}

		{if $files[$changes].perms.tiki_p_assign_perm_file_gallery eq 'y'}
			<a href="tiki-objectpermissions.php?objectName={$files[$changes].name|escape:"url"}&amp;objectType=file+gallery&amp;permType=file+galleries&amp;objectId={$files[$changes].id}{if !empty($filegals_manager)}&amp;filegals_manager={$filegals_manager|escape}{/if}">
				{if $files[$changes].public neq 'y'}
					{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='key_private' alt="{tr}Private Gallery{/tr}"}
				{elseif $files[$changes].perms.has_special_perm eq 'y'}
					{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='key_active' alt="{tr}Active Perms{/tr}"}
				{else}
					{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='key' alt="{tr}Perms{/tr}"}
				{/if}
			</a>
		{/if}
		{if $prefs.feature_webdav eq 'y'}
			{assign var=virtual_path value=$files[$changes].id|virtual_path:'filegal'}
			<a style="behavior: url(#default#AnchorClick);" href="{$virtual_path}" folder="{$virtual_path}">
				{icon _id="tree_folder_open"}{tr}Open as WebFolder{/tr}
			</a>
		{/if}

		{if $files[$changes].perms.tiki_p_create_file_galleries eq 'y'}
			{self_link _icon='cross' _menu_text=$menu_text _menu_icon=$menu_icon removegal=$files[$changes].id}
				{tr}Delete{/tr}
			{/self_link}
		{/if}
	{else}
		{if $prefs.javascript_enabled eq 'y'}
			{if $menu_text eq 'y' or $menu_icon eq 'y'}
				{* This form tag is needed when placed in a popup box through the popup function.
				If placed in a column, there is already a form tag around the whole table *}
				<form class="upform" name="form{$files[$changes].fileId}" method="post" action="tiki-list_file_gallery.php?galleryId={$gal_info.galleryId}{if !empty($filegals_manager)}&amp;filegals_manager={$filegals_manager|escape}{/if}{if $prefs.fgal_asynchronous_indexing eq 'y'}&amp;fast{/if}" enctype="multipart/form-data">
			{/if}
			{if $menu_text neq 'y'}
				{* This is needed for the 'Upload New Version' action to be correctly displayed
				when there is only an icon menu (or actions in a column of the table) *}
				<div style="float:left">
			{/if}
		{/if}

		{if $files[$changes].type|truncate:6:'':true eq 'image/'}
			<a href="{$files[$changes].id|sefurl:display}">
				{icon _id='magnifier' _menu_text=$menu_text _menu_icon=$menu_icon alt="{tr}Display{/tr}"}
			</a>
			{if $files[$changes].perms.tiki_p_upload_files eq 'y' and $prefs.feature_draw eq 'y'}
				{if
					$files[$changes].type eq 'image/svg+xml' 	or
					$files[$changes].type eq 'image/jpeg' 		or
					$files[$changes].type eq 'image/gif' 		or
					$files[$changes].type eq 'image/png' 		or
					$files[$changes].type eq 'image/tiff'
				}
					<a class="draw dialog" data-name="{$files[$changes].filename}" title="{tr}Edit: {/tr}{$files[$changes].filename}" href="tiki-edit_draw.php?fileId={$files[$changes].id}&galleryId={$files[$changes].galleryId}" data-fileid='{$files[$changes].id}' data-galleryid='{$files[$changes].galleryId}' onclick='$(document).trigger("hideCluetip"); return $(this).ajaxEditDraw();'>
						{icon _id='page_edit' _menu_text=$menu_text _menu_icon=$menu_icon alt="{tr}Edit{/tr}"}
					</a>
				{/if}
			{/if}
		{elseif $files[$changes].type eq 'text/csv' and $prefs.feature_sheet eq 'y'}
			<a href="tiki-view_sheets.php?fileId={$files[$changes].id}">
				{icon _id='magnifier' _menu_text=$menu_text _menu_icon=$menu_icon alt="{tr}Display{/tr}"}
			</a>
		{elseif ($files[$changes].type eq 'application/vnd.oasis.opendocument.text'
			or $files[$changes].type eq 'application/octet-stream') and $prefs.feature_docs eq 'y'}
			<a href="tiki-edit_docs.php?fileId={$files[$changes].id}">
				{icon _id='magnifier' _menu_text=$menu_text _menu_icon=$menu_icon alt="{tr}Display{/tr}"}
			</a>
			{if $files[$changes].perms.tiki_p_upload_files eq 'y'}
				<a href="tiki-edit_docs.php?fileId={$files[$changes].id}&edit">
					{icon _id='page_edit' _menu_text=$menu_text _menu_icon=$menu_icon alt="{tr}Edit{/tr}"}
				</a>
			{/if}
		{/if}

		{if (isset($files[$changes].p_download_files) and  $files[$changes].p_download_files eq 'y')
			or (!isset($files[$changes].p_download_files) and $files[$changes].perms.tiki_p_download_files eq 'y')}
			{if $gal_info.type eq 'podcast' or $gal_info.type eq 'vidcast'}
				<a href="{$download_path}{$files[$changes].path}">
			{else}
				<a href="{$files[$changes].id|sefurl:file}">
			{/if}
				{if $prefs.feature_file_galleries_save_draft eq 'y' and $files[$changes].nbDraft gt 0}
					{assign var=download_action_title value="{tr}Download current version{/tr}"}
				{else}
					{assign var=download_action_title value="{tr}Download{/tr}"}
				{/if}
				{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='disk' alt="$download_action_title"}
			</a>
		{/if}

		{if $gal_info.archives gt -1}
			{if isset($files[$changes].nbArchives) and $files[$changes].nbArchives gt 0}
				{assign var=nb_archives value=$files[$changes].nbArchives}
				<a href="tiki-file_archives.php?fileId={$files[$changes].fileId}{if !empty($filegals_manager)}&amp;filegals_manager={$filegals_manager|escape}{/if}">
					{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='disk_multiple' alt="{tr}Archives{/tr} ($nb_archives)"}
				</a>
			{else}
				{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='disk_multiple_gray' alt="{tr}Archives{/tr}"}
			{/if}
			{assign var=replace_action_title value="{tr}Upload New Version{/tr}"}
		{else}
			{assign var=replace_action_title value="{tr}Replace{/tr}"}
		{/if}

		{if $prefs.feature_file_galleries_save_draft eq 'y'}
			{if $files[$changes].nbDraft gt 0}
				{assign var=replace_action_title value="{tr}Replace your draft{/tr}"}
			{else}
				{assign var=replace_action_title value="{tr}Upload your draft{/tr}"}
			{/if}
		{/if}
		{* can edit if I am admin or the owner of the file or the locker of the file or if I have the perm to edit file on this gallery *}
		{if $files[$changes].perms.tiki_p_admin_file_galleries eq 'y'
			or ($files[$changes].lockedby and $files[$changes].lockedby eq $user)
			or (!$files[$changes].lockedby and (($user and $user eq $files[$changes].user)
			or $files[$changes].perms.tiki_p_edit_gallery_file eq 'y'))}
			{if $files[$changes].archiveId == 0}
				{if $prefs.feature_file_galleries_save_draft eq 'y' and $files[$changes].nbDraft gt 0}
					{self_link _icon='accept' _menu_text=$menu_text _menu_icon=$menu_icon validate=$files[$changes].fileId galleryId=$files[$changes].galleryId}
						{tr}Validate your draft{/tr}
					{/self_link}
					{self_link _icon='cross' _menu_text=$menu_text _menu_icon=$menu_icon draft=remove remove=$files[$changes].fileId galleryId=$files[$changes].galleryId}
						{tr}Delete your draft{/tr}
					{/self_link}
				{/if}

				{if $files[$changes].perms.tiki_p_admin_file_galleries eq 'y' or empty($files[$changes].locked)
					or (isset($files[$changes].locked) and $files[$changes].locked and $files[$changes].lockedby eq $user)
					or $gal_info.lockable ne 'y'}
					{if $prefs.javascript_enabled eq 'y'}
						{* if javascript is available on client, add a menu item that will directly open a file selector, automatically upload the file after selection and that replace the current file with the uploaded one *}

						{if $menu_text neq 'y'}</div>{/if}

						{if $prefs.fgal_display_replace eq 'y'}
							<div class="upspan {if $menu_text eq 'y'}upspantext{/if}" style="display: inline; position:relative{if $menu_text eq 'y'}; position:absolute{else}; float:left{/if}; overflow:hidden" title="{$replace_action_title}">
								<input type="file" style="position:absolute; z-index:1001; right:0; top:0; font-size:600px; opacity:0; -moz-opacity:0; filter:alpha(opacity=0); cursor:pointer" name="upfile{$files[$changes].id}" onchange="this.form.submit(); return false;">
								<input type="hidden" name="fileId" value="{$files[$changes].fileId}">
								<a href="#">
									{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='database_refresh' alt=$replace_action_title}
								</a>
							</div>

							{if $menu_text eq 'y'}
								{* the line above is used to give enough space to the real 'Upload New Version' button *}
								<a style="visibility: hidden">
									{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='database_refresh' alt=$replace_action_title}
								</a>
							{/if}
						{/if}

					{else}
						{* for the moment, no-javascript version is simply a link to the edit page where you can also upload *}
						<a href="tiki-upload_file.php?galleryId={$files[$changes].galleryId}&amp;fileId={$files[$changes].id}{if !empty($filegals_manager)}&amp;filegals_manager={$filegals_manager|escape}{/if}">
							{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='database_refresh' alt="{tr}Upload New Version{/tr}"}
						</a>
					{/if}

					{if $prefs.fgal_display_properties eq 'y'}
						<a href="tiki-list_file_gallery.php?galleryId={$files[$changes].galleryId}&fileId={$files[$changes].id}&view=page">
							{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='table' alt="{tr}Page View{/tr}"}
						</a>
						<a href="tiki-upload_file.php?galleryId={$files[$changes].galleryId}&amp;fileId={$files[$changes].id}{if !empty($filegals_manager)}&amp;filegals_manager={$filegals_manager|escape}{/if}">
							{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='page_edit' alt="{tr}Edit Properties{/tr}"}
						</a>
						{* using &amp; causes an error for some reason - therefore using plain & *}
						<a href="tiki-list_file_gallery.php?galleryId={$files[$changes].galleryId}&fileId={$files[$changes].id}&action=refresh_metadata{if isset($view)}&view={$view}{/if}"><commit_msg>[FIX] filegals: Fix curious "Upload New Version" file picker thing (broken in some themes), as the font-size is set to 600px (huh?!) if the margin or padding is set in relative units it no longer was clickable.<commit_after>{* $Id$ *}
{strip}
	{if $files[$changes].isgal eq 1}
		{if $files[$changes].perms.tiki_p_view_file_gallery eq 'y'}
			{self_link _icon='folder_go' _menu_text=$menu_text _menu_icon=$menu_icon galleryId=$files[$changes].id}
				{tr}Go to{/tr}
			{/self_link}
		{/if}

		{if $files[$changes].perms.tiki_p_create_file_galleries eq 'y'}
			{self_link _icon='page_edit' _menu_text=$menu_text _menu_icon=$menu_icon edit_mode=1 galleryId=$files[$changes].id}
				{tr}Properties{/tr}
			{/self_link}
		{/if}

		{if $files[$changes].perms.tiki_p_upload_files eq 'y'
			and ( $files[$changes].perms.tiki_p_admin_file_galleries eq 'y' or ($user and $files[$changes].user eq $user)
			or $files[$changes].public eq 'y' )}
			<a href="tiki-upload_file.php?galleryId={$files[$changes].id}{if !empty($filegals_manager)}&amp;filegals_manager={$filegals_manager|escape}{/if}">
				{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='upload'}
			</a>
		{/if}

		{if $files[$changes].perms.tiki_p_assign_perm_file_gallery eq 'y'}
			<a href="tiki-objectpermissions.php?objectName={$files[$changes].name|escape:"url"}&amp;objectType=file+gallery&amp;permType=file+galleries&amp;objectId={$files[$changes].id}{if !empty($filegals_manager)}&amp;filegals_manager={$filegals_manager|escape}{/if}">
				{if $files[$changes].public neq 'y'}
					{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='key_private' alt="{tr}Private Gallery{/tr}"}
				{elseif $files[$changes].perms.has_special_perm eq 'y'}
					{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='key_active' alt="{tr}Active Perms{/tr}"}
				{else}
					{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='key' alt="{tr}Perms{/tr}"}
				{/if}
			</a>
		{/if}
		{if $prefs.feature_webdav eq 'y'}
			{assign var=virtual_path value=$files[$changes].id|virtual_path:'filegal'}
			<a style="behavior: url(#default#AnchorClick);" href="{$virtual_path}" folder="{$virtual_path}">
				{icon _id="tree_folder_open"}{tr}Open as WebFolder{/tr}
			</a>
		{/if}

		{if $files[$changes].perms.tiki_p_create_file_galleries eq 'y'}
			{self_link _icon='cross' _menu_text=$menu_text _menu_icon=$menu_icon removegal=$files[$changes].id}
				{tr}Delete{/tr}
			{/self_link}
		{/if}
	{else}
		{if $prefs.javascript_enabled eq 'y'}
			{if $menu_text eq 'y' or $menu_icon eq 'y'}
				{* This form tag is needed when placed in a popup box through the popup function.
				If placed in a column, there is already a form tag around the whole table *}
				<form class="upform" name="form{$files[$changes].fileId}" method="post" action="tiki-list_file_gallery.php?galleryId={$gal_info.galleryId}{if !empty($filegals_manager)}&amp;filegals_manager={$filegals_manager|escape}{/if}{if $prefs.fgal_asynchronous_indexing eq 'y'}&amp;fast{/if}" enctype="multipart/form-data">
			{/if}
			{if $menu_text neq 'y'}
				{* This is needed for the 'Upload New Version' action to be correctly displayed
				when there is only an icon menu (or actions in a column of the table) *}
				<div style="float:left">
			{/if}
		{/if}

		{if $files[$changes].type|truncate:6:'':true eq 'image/'}
			<a href="{$files[$changes].id|sefurl:display}">
				{icon _id='magnifier' _menu_text=$menu_text _menu_icon=$menu_icon alt="{tr}Display{/tr}"}
			</a>
			{if $files[$changes].perms.tiki_p_upload_files eq 'y' and $prefs.feature_draw eq 'y'}
				{if
					$files[$changes].type eq 'image/svg+xml' 	or
					$files[$changes].type eq 'image/jpeg' 		or
					$files[$changes].type eq 'image/gif' 		or
					$files[$changes].type eq 'image/png' 		or
					$files[$changes].type eq 'image/tiff'
				}
					<a class="draw dialog" data-name="{$files[$changes].filename}" title="{tr}Edit: {/tr}{$files[$changes].filename}" href="tiki-edit_draw.php?fileId={$files[$changes].id}&galleryId={$files[$changes].galleryId}" data-fileid='{$files[$changes].id}' data-galleryid='{$files[$changes].galleryId}' onclick='$(document).trigger("hideCluetip"); return $(this).ajaxEditDraw();'>
						{icon _id='page_edit' _menu_text=$menu_text _menu_icon=$menu_icon alt="{tr}Edit{/tr}"}
					</a>
				{/if}
			{/if}
		{elseif $files[$changes].type eq 'text/csv' and $prefs.feature_sheet eq 'y'}
			<a href="tiki-view_sheets.php?fileId={$files[$changes].id}">
				{icon _id='magnifier' _menu_text=$menu_text _menu_icon=$menu_icon alt="{tr}Display{/tr}"}
			</a>
		{elseif ($files[$changes].type eq 'application/vnd.oasis.opendocument.text'
			or $files[$changes].type eq 'application/octet-stream') and $prefs.feature_docs eq 'y'}
			<a href="tiki-edit_docs.php?fileId={$files[$changes].id}">
				{icon _id='magnifier' _menu_text=$menu_text _menu_icon=$menu_icon alt="{tr}Display{/tr}"}
			</a>
			{if $files[$changes].perms.tiki_p_upload_files eq 'y'}
				<a href="tiki-edit_docs.php?fileId={$files[$changes].id}&edit">
					{icon _id='page_edit' _menu_text=$menu_text _menu_icon=$menu_icon alt="{tr}Edit{/tr}"}
				</a>
			{/if}
		{/if}

		{if (isset($files[$changes].p_download_files) and  $files[$changes].p_download_files eq 'y')
			or (!isset($files[$changes].p_download_files) and $files[$changes].perms.tiki_p_download_files eq 'y')}
			{if $gal_info.type eq 'podcast' or $gal_info.type eq 'vidcast'}
				<a href="{$download_path}{$files[$changes].path}">
			{else}
				<a href="{$files[$changes].id|sefurl:file}">
			{/if}
				{if $prefs.feature_file_galleries_save_draft eq 'y' and $files[$changes].nbDraft gt 0}
					{assign var=download_action_title value="{tr}Download current version{/tr}"}
				{else}
					{assign var=download_action_title value="{tr}Download{/tr}"}
				{/if}
				{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='disk' alt="$download_action_title"}
			</a>
		{/if}

		{if $gal_info.archives gt -1}
			{if isset($files[$changes].nbArchives) and $files[$changes].nbArchives gt 0}
				{assign var=nb_archives value=$files[$changes].nbArchives}
				<a href="tiki-file_archives.php?fileId={$files[$changes].fileId}{if !empty($filegals_manager)}&amp;filegals_manager={$filegals_manager|escape}{/if}">
					{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='disk_multiple' alt="{tr}Archives{/tr} ($nb_archives)"}
				</a>
			{else}
				{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='disk_multiple_gray' alt="{tr}Archives{/tr}"}
			{/if}
			{assign var=replace_action_title value="{tr}Upload New Version{/tr}"}
		{else}
			{assign var=replace_action_title value="{tr}Replace{/tr}"}
		{/if}

		{if $prefs.feature_file_galleries_save_draft eq 'y'}
			{if $files[$changes].nbDraft gt 0}
				{assign var=replace_action_title value="{tr}Replace your draft{/tr}"}
			{else}
				{assign var=replace_action_title value="{tr}Upload your draft{/tr}"}
			{/if}
		{/if}
		{* can edit if I am admin or the owner of the file or the locker of the file or if I have the perm to edit file on this gallery *}
		{if $files[$changes].perms.tiki_p_admin_file_galleries eq 'y'
			or ($files[$changes].lockedby and $files[$changes].lockedby eq $user)
			or (!$files[$changes].lockedby and (($user and $user eq $files[$changes].user)
			or $files[$changes].perms.tiki_p_edit_gallery_file eq 'y'))}
			{if $files[$changes].archiveId == 0}
				{if $prefs.feature_file_galleries_save_draft eq 'y' and $files[$changes].nbDraft gt 0}
					{self_link _icon='accept' _menu_text=$menu_text _menu_icon=$menu_icon validate=$files[$changes].fileId galleryId=$files[$changes].galleryId}
						{tr}Validate your draft{/tr}
					{/self_link}
					{self_link _icon='cross' _menu_text=$menu_text _menu_icon=$menu_icon draft=remove remove=$files[$changes].fileId galleryId=$files[$changes].galleryId}
						{tr}Delete your draft{/tr}
					{/self_link}
				{/if}

				{if $files[$changes].perms.tiki_p_admin_file_galleries eq 'y' or empty($files[$changes].locked)
					or (isset($files[$changes].locked) and $files[$changes].locked and $files[$changes].lockedby eq $user)
					or $gal_info.lockable ne 'y'}
					{if $prefs.javascript_enabled eq 'y'}
						{* if javascript is available on client, add a menu item that will directly open a file selector, automatically upload the file after selection and that replace the current file with the uploaded one *}

						{if $menu_text neq 'y'}</div>{/if}

						{if $prefs.fgal_display_replace eq 'y'}
							<div class="upspan {if $menu_text eq 'y'}upspantext{/if}" style="display: inline; position:relative{if $menu_text eq 'y'}; position:absolute{else}; float:left{/if}; overflow:hidden" title="{$replace_action_title}">
								<input type="file" style="position:absolute; z-index:1001; right:0; top:0; font-size:600px; opacity:0; -moz-opacity:0; filter:alpha(opacity=0); cursor:pointer; margin: 0; padding: 0" name="upfile{$files[$changes].id}" onchange="this.form.submit(); return false;">
								<input type="hidden" name="fileId" value="{$files[$changes].fileId}">
								<a href="#">
									{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='database_refresh' alt=$replace_action_title}
								</a>
							</div>

							{if $menu_text eq 'y'}
								{* the line above is used to give enough space to the real 'Upload New Version' button *}
								<a style="visibility: hidden">
									{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='database_refresh' alt=$replace_action_title}
								</a>
							{/if}
						{/if}

					{else}
						{* for the moment, no-javascript version is simply a link to the edit page where you can also upload *}
						<a href="tiki-upload_file.php?galleryId={$files[$changes].galleryId}&amp;fileId={$files[$changes].id}{if !empty($filegals_manager)}&amp;filegals_manager={$filegals_manager|escape}{/if}">
							{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='database_refresh' alt="{tr}Upload New Version{/tr}"}
						</a>
					{/if}

					{if $prefs.fgal_display_properties eq 'y'}
						<a href="tiki-list_file_gallery.php?galleryId={$files[$changes].galleryId}&fileId={$files[$changes].id}&view=page">
							{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='table' alt="{tr}Page View{/tr}"}
						</a>
						<a href="tiki-upload_file.php?galleryId={$files[$changes].galleryId}&amp;fileId={$files[$changes].id}{if !empty($filegals_manager)}&amp;filegals_manager={$filegals_manager|escape}{/if}">
							{icon _menu_text=$menu_text _menu_icon=$menu_icon _id='page_edit' alt="{tr}Edit Properties{/tr}"}
						</a>
						{* using &amp; causes an error for some reason - therefore using plain & *}
						<a href="tiki-list_file_gallery.php?galleryId={$files[$changes].galleryId}&fileId={$files[$changes].id}&action=refresh_metadata{if isset($view)}&view={$view}{/if}">
{'fraction_non_alphanumeric': 0.17382739212007506, 'fraction_numerical': 0.0022045028142589117, 'mean_word_length': 5.171056439942113, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7297402', 'n_tokens_mistral': 8874, 'n_tokens_neox': 7650, 'n_words': 1497}