"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6815],{6815:function(e,n,t){t.r(n),t.d(n,{default:function(){return k}});t(8309);var a=t(6252),l=t(3577),u={class:"entity link-quality-container"},i={class:"head"},r={class:"icon"},s={class:"label"},v=["textContent"],o={class:"value-container"},c=["textContent"];function d(e,n,t,d,p,f){var h=(0,a.up)("EntityIcon");return(0,a.wg)(),(0,a.iD)("div",u,[(0,a._)("div",i,[(0,a._)("div",r,[(0,a.Wm)(h,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,a._)("div",s,[(0,a._)("div",{class:"name",textContent:(0,l.zw)(e.value.name)},null,8,v)]),(0,a._)("div",o,[null!=f.valuePercent?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"value",textContent:(0,l.zw)(f.valuePercent+"%")},null,8,c)):(0,a.kq)("",!0)])])])}t(6977);var p=t(7909),f=t(1706),h={name:"LinkQuality",components:{EntityIcon:f["default"]},mixins:[p["default"]],computed:{valuePercent:function(){var e;if(null==(null===(e=this.value)||void 0===e?void 0:e.value))return null;var n=this.value.min||0,t=this.value.max||100;return(100*this.value.value/(t-n)).toFixed(0)}}},y=t(3744);const m=(0,y.Z)(h,[["render",d],["__scopeId","data-v-66f207d9"]]);var k=m}}]);
//# sourceMappingURL=6815-legacy.7ba5187b.js.map