@php $dropdownAvatar = $avatarSrc ?? (preg_match('/^https?:\/\//', (string) $avatar) ? $avatar : asset($avatar)); @endphp