<% APP_DATA[instance.zone.to_sym][:nms].each do |nm| %> <% is_popped = instance.pops.filter { |pop| (Time.current - 120.minutes) <= pop.created_at }.any? { |pop| pop.name == nm[:name].parameterize } %>
" alt="<%= nm[:element] %>" width="30" />

LV<%= nm[:level].to_s.rjust(2, "0") %> <%= nm[:name] %> <% if nm[:weather] %> <% end %>

« <%= nm[:spawned_by][:name] %> <% if nm[:spawned_by][:night_only] %> 🌙 <% end %> <% if nm[:spawned_by][:weather] %> <% end %> LV<%= nm[:spawned_by][:level].to_s.rjust(2, "0") %>
<% if is_popped %> <% pop = instance.pops.find { |pop| pop.name == nm[:name].parameterize } %> <% mins = ActiveSupport::Duration.build(Time.current - pop.created_at) %> » <%= (120.minutes - mins).in_minutes.floor %>m <% end %>
<% if is_popped %> <% else %> <% end %>
<% end %>