@php
    $scannerHintText = trim((string) ($text ?? ''));
    $scannerHintClass = trim((string) ($className ?? ''));
    $scannerHintIconClass = trim((string) ($iconClass ?? 'scanner-hint-icon'));
@endphp

@if ($scannerHintText !== '')
    <div class="scanner-hint {{ $scannerHintClass }}">
        <div class="scanner-hint-content">
            <img class="{{ $scannerHintIconClass }}" src="{{ asset('imgs/scan_barcode.svg') }}" alt="" aria-hidden="true">
            <span>{{ $scannerHintText }}</span>
        </div>
    </div>
@endif