      </main>
<% if (user) { %></div></div><% } %>
<div x-data="{open:false,message:'',kind:'info'}" x-on:app-toast.window="message=$event.detail.message;kind=$event.detail.kind;open=true;setTimeout(()=>open=false,4500)" x-show="open" x-cloak
  class="fixed bottom-5 left-5 z-50 max-w-md rounded-xl border bg-white px-4 py-3 text-sm font-bold shadow-xl dark:bg-slate-900" role="status" aria-live="polite">
  <span x-text="message"></span>
</div>
<% if (flash) { %><script type="application/json" id="server-flash"><%- JSON.stringify(flash) %></script><% } %>
<script defer src="/build/flash.js"></script>
</body>
</html>

