1import{B as r,f as s,C as i,a as o,L as l,g as n,p as d,c as p,d as c}from"./vendor-charts-BlE0PIEs.js";import{d as u,z as g,E as y,c as h,H as f}from"./vendor-vuetify-DaY1MzuL.js";import{_ as m}from"./index-CkbxFzmV.js";import"./vendor-sentry-CdlvO8A5.js";try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d403744d-9414-4a74-9e71-5767b2e258da",e._sentryDebugIdIdentifier="sentry-dbid-d403744d-9414-4a74-9e71-5767b2e258da")}catch{}i.register(o,l,n,d,p,c);const b=u({name:"BarBestPerf",components:{Bar:r},props:{targetPlayer:{type:Object,required:!1},topPlayers:{type:Array,required:!0}},data(){return{plugins:[s]}},computed:{colors(){return this.$vuetify.theme.current.colors},computedChartData(){return{labels:this.topPlayers.map(e=>e.name+(this.targetPlayer?": "+e.position:"")),datasets:[{data:this.topPlayers.map(e=>e.value),backgroundColor:this.topPlayers.map(e=>e.id==="best-value-match"||this.targetPlayer?.position===1&&e.id===this.targetPlayer.id?"rgba(58, 161, 63, .65)":e.id===this.targetPlayer?.id?"rgba(0, 89, 192, .65)":this.colors.grey3),datalabels:{color:this.topPlayers.map(e=>e.id===this.targetPlayer?.id||e.id==="best-value-match"?"white":this.colors.grey1)}}]}},chartOptions(){return{indexAxis:"y",devicePixelRatio:2,layout:{},animation:{duration:500},responsive:!0,maintainAspectRatio:!1,elements:{bar:{borderRadius:8}},scales:{y:{display:!0,ticks:{padding:10,color:e=>this.topPlayers[e.tick.value].id==="best-value-match"||this.targetPlayer?.position===1&&e.tick.value===0?"rgba(58, 161, 63, 1)":e.tick.label===`${this.targetPlayer?.name}: ${this.targetPlayer?.position}`?this.colors.primary:this.colors.grey1},grid:{color:this.colors.grey3,drawTicks:!1,display:!1},border:{color:this.colors.grey3}},x:{display:!1}},plugins:{legend:{display:!1},datalabels:{display:!0,clip:!0,borderRadius:4,font:{size:12}}}}}}}),_={class:"chart-wrapper line block background"};function P(e,t,v,k,B,w){const a=g("Bar");return y(),h("div",_,[f(a,{data:e.computedChartData,options:e.chartOptions,plugins:e.plugins},null,8,["data","options","plugins"])])}const E=m(b,[["render",P],["__scopeId","data-v-f8c5607d"]]);export{E as default}; 2//# sourceMappingURL=BarBestPerf-DGEOxtYP.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.