<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 == 'sendgrid')
        {!! __('help.webhook_help_sendgrid') !!}
      @elseif($type == 'sparkpost')
        {!! __('help.webhook_help_sparkpost') !!}
      @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>