1import{f as a}from"./faCheck.a7a20998.js";import c from"./TmlIconButton.eaee0d21.js";import{N as i,D as m,W as s,H as d}from"./vue.00f7c436.js";import{_ as r}from"./index.a4e8ca65.js";import"./sentry.09480738.js";const u={name:"TmlBadge",components:{TmlIconButton:c},props:{badge:{type:Object,required:!0},hideName:{type:Boolean,default:!1},maxSize:{type:String,default:"125px"},clickable:{type:Boolean,default:!0},progressBadge:{type:Boolean,default:!1}},emits:["click"],data(){return{faCheck:a.faCheck}},computed:{getIcon(){return this.progressBadge&&this.badge.unlocked?a.faCheck:this.badge.icon}}};function g(n,t,e,f,b,o){const l=i("tml-icon-button");return m(),s(l,{class:d(["p-2 tml-badge",{"pointer-none":!e.clickable}]),text:e.hideName?null:e.badge.name,icon:o.getIcon,thumbnail:e.badge.image.icon||e.badge.images.legacy,"background-overlay":"","max-size":e.maxSize,circle:"",disabled:!e.badge.unlocked,onClick:t[0]||(t[0]=_=>n.$emit("click"))},null,8,["class","text","icon","thumbnail","max-size","disabled"])}const y=r(u,[["render",g]]);export{y as default}; 2//# sourceMappingURL=TmlBadge.9c9852d2.js.map
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.