PageSourceSearch

https://seagrassspotter.org/chunk-4AYAIJDV.js

js seagrassspotter.org collected 2026-10-02 17:08:21 UTC 2,679 bytes, 1 lines download raw bytes

1import{a as M}from"./chunk-4AFJB7OU.js";import{a as I}from"./chunk-4INARZPV.js";import"./chunk-VE7JRJOC.js";import{I as E,b as x,c as S,d as y,e as P,f as w,g as B}from"./chunk-3J2WZKQE.js";import"./chunk-USFOSCCE.js";import{a as N}from"./chunk-JSQY5VOS.js";import"./chunk-2Y5LUAY3.js";import"./chunk-FDSZTAV7.js";import{Ab as c,Bb as m,Db as l,Eb as d,Fb as s,Gb as u,Hb as i,Ib as n,Jb as p,Va as o,Wb as v,_a as f,eb as b,fc as r,gc as h,hc as C,kb as A}from"./chunk-6XLY2MTM.js";import{j as _}from"./chunk-SZAW6ZBW.js";function F(e,a){e&1&&p(0,"spotter-spinner")}function O(e,a){if(e&1&&(i(0,"tr")(1,"td"),r(2),n(),i(3,"td"),r(4),n()()),e&2){let t=a.$implicit;o(2),h(t.username),o(2),h(t.name)}}function D(e,a){if(e&1&&(i(0,"div",11)(1,"table",12)(2,"thead")(3,"tr")(4,"th",13),r(5,"Username"),n(),i(6,"th",13),r(7,"Name"),n()()(),i(8,"tbody"),d(9,O,5,2,"tr",null,l),n()()()),e&2){let t=v().$implicit;o(9),s(t.users)}}function U(e,a){if(e&1&&(i(0,"div",3),p(1,"achievement",4),i(2,"div",5)(3,"div",6)(4,"h2",7)(5,"button",8),r(6),n()(),i(7,"div",9)(8,"div",10),A(9,D,11,0,"ng-template"),n()()()()()),e&2){let t=a.$implicit;o(),u("achievement",t),o(5),C(" ",t.users.length," Users with this achievement ")}}function $(e,a){if(e&1&&(i(0,"div",0)(1,"div",1),r(2,"Achievements"),n(),i(3,"div",2)(4,"p"),r(5,"Below all all the active achievements and the users who have been awarded them."),n(),d(6,U,10,2,"div",3,l),n()()),e&2){let t=v();o(6),s(t.achievements)}}var T=class e{constructor(a){this.badgeService=a;this.loadAchievements()}achievements;loadAchievements(){return _(this,null,function*(){this.achievements=yield this.badgeService.getAchievements()})}static \u0275fac=function(t){return new(t||e)(f(M))};static \u0275cmp=b({type:e,selectors:[["app-achievements"]],decls:2,vars:2,consts:[[1,"panel"],[1,"panel-header"],[1,"panel-body"],[1,"achievement-row-holder"],[3,"achievement"],["ngbAccordion","",1,"achievement-users-details"],["ngbAccordionItem",""],["ngbAccordionHeader",""],["ngbAccordionButton",""],["ngbAccordionCollapse",""],["ngbAccordionBody",""],[1,"table-holder"],[1,"table","table-sm"],["scope","col"]],template:function(t,g){t&1&&(c(0,F,1,0,"spotter-spinner"),c(1,$,8,0,"div",0)),t&2&&(m(g.achievements?-1:0),o(),m(g.achievements?1:-1))},dependencies:[I,N,E,y,B,w,P,x,S],styles:[".achievement-row-holder[_ngcontent-%COMP%]{display:flex;width:100%;margin-bottom:2rem;align-items:center}.achievement-row-holder[_ngcontent-%COMP%]   .achievement-users-details[_ngcontent-%COMP%]{margin-left:2rem;flex-grow:1}.achievement-row-holder[_ngcontent-%COMP%]   .table-holder[_ngcontent-%COMP%]{max-height:410px;overflow:scroll}"]})};export{T as AchievementsPage};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.