merge($getExtraAttributes(), escape: false)
            ->class(['fi-ta-range-summary grid gap-y-1 px-3 py-4'])
    }}
>
    @php
        $state = $formatState($getState());
        $from = $state[0] ?? null;
        $to = $state[1] ?? null;
    @endphp
    @if (filled($label = $getLabel()))
        
            {{ $label }}
        
    @endif
    @if (filled($from) || filled($to))
        
            {{ $from }}
            @if (filled($from) && filled($to))
                -
            @endif
            {{ $to }}
        
    @endif