@php $currentItem = $getCurrentItem(); $statePath = $getStatePath(); @endphp
@if (! $currentItem) {{ $getButtonLabel() }} @else
merge($getExtraAttributes())->class([ 'relative block w-full overflow-hidden transition duration-75 border border-gray-300 rounded-lg shadow-sm dark:bg-gray-800 dark:border-gray-700 dark:text-white flex justify-center ', 'h-64 checkered' => ! (str($currentItem['type'])->contains('video')|| str($currentItem['type'])->contains('audio')), ]) }}> @if (str($currentItem['type'])->contains('image')) {{ $currentItem['alt'] }} $isConstrained(), 'object-cover w-full' => ! $isConstrained(), ]) /> @elseif (str($currentItem['type'])->contains('video')) @elseif (str($currentItem['type'])->contains('audio')) @else @endif
@svg('heroicon-s-eye', 'w-4 h-4') {{ __('curator::views.picker.view') }} @if (! $isDisabled()) @svg('heroicon-s-pencil', 'w-4 h-4') {{ __('curator::views.picker.edit') }} @endif
@if (!( str($currentItem['type'])->contains('video')||str($currentItem['type'])->contains('audio')))

{{ $currentItem['title']?? $currentItem['name'] }}.{{ $currentItem['ext'] }}

{{ $currentItem['size_for_humans'] }}

@endif
@endif