<commit_before>{* Filter supplier *}
{block name="frontend_listing_filter_supplier"}
	{if $sSuppliers|@count>1 && $sCategoryContent.parent != 1}
		<div class="options">
			{s name='FilterSupplierHeadline'}{/s} <span class="expandcollapse">+</span>
		</div>
		{foreach from=$sSuppliers key=supKey item=supplier name=supplier}{/foreach}
		{block name="frontend_listing_filter_supplier_each"}
			<div class="slideContainer">
				<ul{if $sSuppliers|@count > 5} class="overflow"{/if}>
					{foreach from=$sSuppliers key=supKey item=supplier name=supplier}
						{if $supplier.image}
							<li id="n{$supKey+1}" class="image{if $sSupplierInfo.name eq $supplier.name} active{/if}">
								{if $sSupplierInfo.name eq $supplier.name}
									<img src="{link file=$supplier.image}" alt="{$supplier.name}" border="0"
										 title="{$supplier.name}"/>
								{else}
									<a href="{$supplier.link}" title="{$supplier.name}">
										<img src="{link file=$supplier.image}" alt="{$supplier.name}" border="0"
											 title="{$supplier.name}"/>
									</a>
								{/if}
							</li>
						{else}
							<li class="{if $sSupplierInfo.name eq $supplier.name}active{/if} {if $smarty.foreach.supplier.last}last{/if}"
								id="n{$supKey+1}">
								{if $sSupplierInfo.name eq $supplier.name}
									{$supplier.name} ({$supplier.countSuppliers})
								{else}
									<a href="{$supplier.link}" title="{$supplier.name}">{$supplier.name}
										({$supplier.countSuppliers})</a>
								{/if}
							</li>
						{/if}
					{/foreach}

				</ul>
				{if $sSupplierInfo.name}
					<ul>
						<li class="close">
							<a href="{$sSupplierInfo.link}" title="{s name='FilterLinkDefault'}Alle Anzeigen{/s}">
								{se name='FilterLinkDefault'}Alle Anzeigen{/se}
							</a>
						</li>
					</ul>
				{/if}
			</div>
		{/block}
	{/if}
{/block}<commit_msg>SW-7855 Refactored: The HTML structure of the filter supplier in the listing<commit_after>{* Filter supplier *}
{block name="frontend_listing_filter_supplier"}
	{if $sSuppliers|@count>1 && $sCategoryContent.parent != 1}
		<span class="filter--indicator">
			{s name='FilterSupplierHeadline'}{/s} <span class="filter--expand-collapse">+</span>
		</span>

		{foreach from=$sSuppliers key=supKey item=supplier name=supplier}{/foreach}
		{block name="frontend_listing_filter_supplier_each"}
			<div class="filter--content">
				<ul class="filter--list{if $sSuppliers|@count > 5} content--scrollable{/if}">
					{foreach from=$sSuppliers key=supKey item=supplier name=supplier}
						{if $supplier.image}
							<li id="n{$supKey+1}" class="filter--entry entry--image{if $sSupplierInfo.name eq $supplier.name} is--active{/if}">
								{if $sSupplierInfo.name eq $supplier.name}
									<img class="filter--image" src="{link file=$supplier.image}" alt="{$supplier.name}">
								{else}
									<a class="filter--link" href="{$supplier.link}" title="{$supplier.name}">
										<img class="filter--image" src="{link file=$supplier.image}" alt="{$supplier.name}">
									</a>
								{/if}
							</li>
						{else}
							<li class="filter--entry{if $sSupplierInfo.name eq $supplier.name} is--active{/if}{if $smarty.foreach.supplier.last} is--last{/if}" id="n{$supKey+1}">
								{if $sSupplierInfo.name eq $supplier.name}
									{$supplier.name} ({$supplier.countSuppliers})
								{else}
									<a class="filter--link" href="{$supplier.link}" title="{$supplier.name}">
                                        {$supplier.name}
										({$supplier.countSuppliers})
                                    </a>
								{/if}
							</li>
						{/if}
					{/foreach}

				</ul>
				{if $sSupplierInfo.name}
					<ul class="filter--list">
						<li class="filter--entry">
							<a class="filter--link link--close" href="{$sSupplierInfo.link}" title="{s name='FilterLinkDefault'}Alle Anzeigen{/s}">
								{se name='FilterLinkDefault'}Alle Anzeigen{/se}
							</a>
						</li>
					</ul>
				{/if}
			</div>
		{/block}
	{/if}
{/block}
{'fraction_non_alphanumeric': 0.18993993993993993, 'fraction_numerical': 0.004004004004004004, 'mean_word_length': 2.949604743083004, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1567238', 'n_tokens_mistral': 1842, 'n_tokens_neox': 1379, 'n_words': 242}