<% theme = Current.user&.theme || "system" %> " class="h-full text-primary overflow-hidden lg:overflow-auto font-sans <%= @os %>"> <%= render "layouts/shared/head" %> <%= yield :head %> <% if Rails.env.development? %> <% end %>
<%= render_flash_notifications %>
<% if Current.family&.syncing? %> <%= render "shared/notifications/loading", id: "syncing-notice", message: "Syncing accounts data..." %> <% end %>
<%= family_stream %> <%= turbo_frame_tag "modal" %> <%= turbo_frame_tag "drawer" %> <%# Custom overrides for browser's confirm API %> <%= render "layouts/shared/confirm_dialog" %> <%= render "impersonation_sessions/super_admin_bar" if Current.true_user&.super_admin? && show_super_admin_bar? %> <%= render "impersonation_sessions/approval_bar" if Current.true_user&.impersonated_support_sessions&.initiated&.any? %> <%= yield %>