@php
    $filingItems = \App\Support\DberpSiteFilingRecords::loginFooterItems();
@endphp

@if (count($filingItems) > 0)
    <footer class="dberp-auth-filing-footer" aria-label="{{ __('dberp.sections.filing_info') }}">
        <div class="dberp-auth-filing-inner">
            @foreach ($filingItems as $item)
                @if (! $loop->first)
                    <span class="dberp-auth-filing-sep" aria-hidden="true"></span>
                @endif
                <a
                    href="{{ $item['url'] }}"
                    class="dberp-auth-filing-chip"
                    target="_blank"
                    rel="noopener noreferrer nofollow"
                >
                    @if (! empty($item['icon_url']))
                        <img
                            src="{{ $item['icon_url'] }}"
                            alt=""
                            width="16"
                            height="16"
                            loading="lazy"
                            decoding="async"
                        >
                    @endif
                    <span class="dberp-auth-filing-text">{{ $item['text'] }}</span>
                </a>
            @endforeach
        </div>
    </footer>
@endif
