1import{b as d,c as l,d as c}from"./chunk-RMVRAWRA.js";import{Ga as u,Yc as s,la as n,qa as o}from"./chunk-UM6OWAC4.js";import{l as i}from"./chunk-ADXSR5XT.js";var m=class a{profile=o(c);queue=u([]);current=s(()=>this.queue()[0]??null);award(e){return i(this,null,function*(){let r=yield this.profile.awardBadge(e);return r&&this.enqueue(e),r})}awardMany(e){return i(this,null,function*(){for(let r of e)yield this.award(r)})}evaluateHeroCreation(e){return i(this,null,function*(){let r=[],t=l(e.cultureOrSpecie);t&&r.push(t),(e.totalHeroes??0)>=1&&r.push("erster-held"),(e.totalHeroes??0)>=5&&r.push("heldenschmied"),(e.distinctCultures??0)>=3&&r.push("weltenbummler"),yield this.awardMany(r)})}preview(e){this.enqueue(e)}dismiss(){this.queue.update(e=>e.slice(1))}enqueue(e){let r=d(e);r&&this.queue.update(t=>t.some(f=>f.id===e)?t:[...t,r])}static \u0275fac=function(r){return new(r||a)};static \u0275prov=n({token:a,factory:a.\u0275fac,providedIn:"root"})};export{m as a};
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.