@php
$driver = config('notify.driver', 'toastr');
$position = config('notify.position', 'top-right');
$duration = config('notify.duration', 5000);
$stack = config('notify.stack', true);
$assets = config('notify.assets', 'cdn');
$swalConfirm = config('notify.confirm', []);
$notifications = session('notifications', []);
@endphp
{{-- Assets (CDN) --}}
@if($assets === 'cdn')
{{-- jQuery for Toastr (only loaded if driver === 'toastr') --}}
@if($driver === 'toastr')
@elseif($driver === 'notyf')
@endif
{{-- SweetAlert2 always loaded (for confirm + optional toast driver) --}}
@else
{{-- If 'local' assets, assume you placed them in public/vendor/notify/... --}}
@if($driver === 'toastr')
@elseif($driver === 'notyf')
@endif
@endif