<%- include('../partials/header') %>

👤 <%= profile.username %>

Joined <%= new Date(profile.created_at).toLocaleDateString() %>

<%= profile.totalPoints %>
Total Points
<%= profile.scanCount %>
Finds
<%= rank ? '#' + rank : '---' %>
Rank<% if (totalPlayers) { %> / <%= totalPlayers %><% } %>
<% if (huntBreakdown.length > 0) { %>
Hunts Participated
<% huntBreakdown.forEach(h => { %> <% }) %>
Hunt Finds Points
<%= h.hunt_name %> <%= h.scans %> +<%= h.points %>
<% } %> <% if (recentScans.length > 0) { %>
Recent Activity
<% recentScans.forEach(scan => { %> <% }) %>
Package Hunt Points When
<%= scan.card_number %> of <%= scan.package_count %> <%= scan.hunt_name %> <% if (scan.points_awarded > 0) { %>+<%= scan.points_awarded %><% } else { %>0<% } %>
<% } else { %>
<% if (typeof isOwnProfile !== 'undefined' && isOwnProfile) { %> No scans yet. Get out there and find some loot! <% } else { %> This player hasn't found any loot yet. <% } %>
<% } %>
Global Leaderboard
<% if (typeof isOwnProfile !== 'undefined' && isOwnProfile) { %>
🔒 Change Password
At least 6 characters.
<% } %>
<%- include('../partials/footer') %>