$dispatch('notify', { title: 'Could not connect to network', type: 'error' })"
@htmx:response-error="(e) => $dispatch('notify', { title: `The server returned an error`, content: `Error code: ${e.detail.xhr.status === 502 ? 'server unavailable' : e.detail.xhr.status}`, type: 'error' })"
@htmx:on-load-error="(e) => $dispatch('notify', { title: `An exception occurred while handling the request`, content: `${e.detail.exception.message}`, type: 'error' })"
@htmx:timeout="(e) => $dispatch('notify', { title: `Timed out waiting for a response`, type: 'error' })"
class="min-h-screen flex flex-col antialiased text-gray-900 dark:text-white bg-gray-50 dark:bg-gray-900"
hx-ext="loading-states"
>