@if ( session()->has( 'message' ) ) @if ( is_array( session()->get( 'message' ) ) )

{!! session()->get( 'message' )[ 'message' ] ?? __( 'Invalid Error Message' ) !!}

{{ __( 'Learn More' ) }}
@else

{!! session()->get( 'message' ) !!}

@endif @endif @if ( session()->has( 'errorMessage' ) ) @if ( is_array( session()->get( 'errorMessage' ) ) )

{!! session()->get( 'errorMessage' )[ 'message' ] ?? __( 'Invalid Error Message' ) !!}

{{ __( 'Learn More' ) }}
@else

{!! session()->get( 'errorMessage' ) !!}

@endif @endif @if ( session()->has( 'infoMessage' ) ) @if ( is_array( session()->get( 'infoMessage' ) ) )

{!! session()->get( 'infoMessage' )[ 'message' ] ?? __( 'Invalid Error Message' ) !!}

{{ __( 'Learn More' ) }}
@else

{!! session()->get( 'infoMessage' ) !!}

@endif @endif