<%= render 'drawer_events', webhook_url: @webhook_url, webhook_event: @webhook_event %>
    <% if @data %>
      
        <% response = JSON.pretty_generate({ event_type: @webhook_event.event_type, timestamp: @webhook_event.created_at.as_json, data: @data }) %>
        
          <%= render 'shared/clipboard_copy', icon: 'copy', text: response, class: 'btn btn-ghost text-white', icon_class: 'w-6 h-6 text-white', copy_title: t('copy'), copied_title: t('copied') %>
        
        <%== HighlightCode.call(response, 'JSON', theme: 'base16.dark') %>