<script src="{{asset('assets/js/app.js')}}"></script>
<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable modal-lg">
<div class="modal-content">
  <div class="modal-header">
    <h6 class="modal-title">{{ __('help.webhook_help_heading') }} {{ ucfirst(str_replace('_', ' ', $type)) }}</h6>
    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{__('app.close')}}"></button>
  </div>
  <div class="modal-body">
    <div class="box-body">
      @if($type == 'mailgun')
        {!! __('help.webhook_help_mailgun') !!}
      @elseif($type == 'gmail')
        {!! __('help.gmail_setup_help') !!}
        @elseif($type == 'microsoft')
        {!! __('help.microsoft_setup_help') !!}
      @elseif($type == 'sendgrid')
        {!! __('help.webhook_help_sendgrid') !!}
      @elseif($type == 'sparkpost')
        {!! __('help.webhook_help_sparkpost') !!}
      @elseif($type == 'elasticemail')
        {!! __('help.webhook_help_elastic_email') !!}
        @elseif($type == 'postal')
        {!! __('help.webhook_help_postal') !!}
      @elseif($type == 'amazon')
        {!! str_replace('APP_URL', \App\Http\Helper\Helper::getAppURL(), __('help.webhook_help_amazon_ses')) !!}
      @endif
    </div>
  </div>
  <div class="modal-footer">
    <button type="button" class="btn btn-danger" data-bs-dismiss="modal">{{__('app.close')}}</button>
  </div>
</div>