"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5131],{5131:function(e,l,a){a.r(l),a.d(l,{default:function(){return K}});var s=a(641),t=a(33),n=a(3751);const v={class:"icon"},i={class:"label"},c=["textContent"],d={class:"value-and-toggler"},u=["textContent"],o={key:0,class:"body children attributes fade-in"},k={key:0,class:"child"},r={class:"value"},C=["textContent"],L={key:1,class:"child"},m={class:"value"},h=["textContent"],p={key:2,class:"child"},x={class:"value"},b=["textContent"],f={key:3,class:"child"},y={class:"value"},E=["textContent"],_={key:4,class:"child"},S={class:"value"},X=["textContent"],Q={key:5,class:"child"},z={class:"value"},g=["textContent"],I={key:6,class:"child"},w={class:"value"},A=["textContent"],D={key:7,class:"child"},F={class:"value"},M=["textContent"],$={key:8,class:"child"},B={class:"value"},T=["textContent"];function U(e,l,a,U,j,q){const G=(0,s.g2)("EntityIcon");return(0,s.uX)(),(0,s.CE)("div",{class:(0,t.C4)(["entity memory-stats-container",{expanded:!j.isCollapsed}])},[(0,s.Lk)("div",{class:"head",onClick:l[1]||(l[1]=(0,n.D$)((e=>j.isCollapsed=!j.isCollapsed),["stop"]))},[(0,s.Lk)("div",v,[(0,s.bF)(G,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,s.Lk)("div",i,[(0,s.Lk)("div",{class:"name",textContent:(0,t.v_)(e.value.name)},null,8,c)]),(0,s.Lk)("div",d,[(0,s.Lk)("div",{class:"value",textContent:(0,t.v_)(Math.round(100*e.value.percent,1)+"%")},null,8,u),(0,s.Lk)("div",{class:"collapse-toggler",onClick:l[0]||(l[0]=(0,n.D$)((e=>j.isCollapsed=!j.isCollapsed),["stop"]))},[(0,s.Lk)("i",{class:(0,t.C4)(["fas",{"fa-chevron-down":j.isCollapsed,"fa-chevron-up":!j.isCollapsed}])},null,2)])])]),j.isCollapsed?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.CE)("div",o,[null!=e.value.total?((0,s.uX)(),(0,s.CE)("div",k,[l[2]||(l[2]=(0,s.Lk)("div",{class:"label"},[(0,s.Lk)("div",{class:"name"},"Total")],-1)),(0,s.Lk)("div",r,[(0,s.Lk)("div",{class:"name",textContent:(0,t.v_)(e.convertSize(e.value.total))},null,8,C)])])):(0,s.Q3)("",!0),null!=e.value.available?((0,s.uX)(),(0,s.CE)("div",L,[l[3]||(l[3]=(0,s.Lk)("div",{class:"label"},[(0,s.Lk)("div",{class:"name"},"Available")],-1)),(0,s.Lk)("div",m,[(0,s.Lk)("div",{class:"name",textContent:(0,t.v_)(e.convertSize(e.value.available))},null,8,h)])])):(0,s.Q3)("",!0),null!=e.value.used?((0,s.uX)(),(0,s.CE)("div",p,[l[4]||(l[4]=(0,s.Lk)("div",{class:"label"},[(0,s.Lk)("div",{class:"name"},"Used")],-1)),(0,s.Lk)("div",x,[(0,s.Lk)("div",{class:"name",textContent:(0,t.v_)(e.convertSize(e.value.used))},null,8,b)])])):(0,s.Q3)("",!0),null!=e.value.free?((0,s.uX)(),(0,s.CE)("div",f,[l[5]||(l[5]=(0,s.Lk)("div",{class:"label"},[(0,s.Lk)("div",{class:"name"},"Free")],-1)),(0,s.Lk)("div",y,[(0,s.Lk)("div",{class:"name",textContent:(0,t.v_)(e.convertSize(e.value.free))},null,8,E)])])):(0,s.Q3)("",!0),null!=e.value.active?((0,s.uX)(),(0,s.CE)("div",_,[l[6]||(l[6]=(0,s.Lk)("div",{class:"label"},[(0,s.Lk)("div",{class:"name"},"Active")],-1)),(0,s.Lk)("div",S,[(0,s.Lk)("div",{class:"name",textContent:(0,t.v_)(e.convertSize(e.value.active))},null,8,X)])])):(0,s.Q3)("",!0),null!=e.value.inactive?((0,s.uX)(),(0,s.CE)("div",Q,[l[7]||(l[7]=(0,s.Lk)("div",{class:"label"},[(0,s.Lk)("div",{class:"name"},"Inactive")],-1)),(0,s.Lk)("div",z,[(0,s.Lk)("div",{class:"name",textContent:(0,t.v_)(e.convertSize(e.value.inactive))},null,8,g)])])):(0,s.Q3)("",!0),null!=e.value.buffers?((0,s.uX)(),(0,s.CE)("div",I,[l[8]||(l[8]=(0,s.Lk)("div",{class:"label"},[(0,s.Lk)("div",{class:"name"},"Buffers")],-1)),(0,s.Lk)("div",w,[(0,s.Lk)("div",{class:"name",textContent:(0,t.v_)(e.convertSize(e.value.buffers))},null,8,A)])])):(0,s.Q3)("",!0),null!=e.value.cached?((0,s.uX)(),(0,s.CE)("div",D,[l[9]||(l[9]=(0,s.Lk)("div",{class:"label"},[(0,s.Lk)("div",{class:"name"},"Cached")],-1)),(0,s.Lk)("div",F,[(0,s.Lk)("div",{class:"name",textContent:(0,t.v_)(e.convertSize(e.value.cached))},null,8,M)])])):(0,s.Q3)("",!0),null!=e.value.shared?((0,s.uX)(),(0,s.CE)("div",$,[l[10]||(l[10]=(0,s.Lk)("div",{class:"label"},[(0,s.Lk)("div",{class:"name"},"Shared")],-1)),(0,s.Lk)("div",B,[(0,s.Lk)("div",{class:"name",textContent:(0,t.v_)(e.convertSize(e.value.shared))},null,8,T)])])):(0,s.Q3)("",!0)]))],2)}var j=a(4897),q=a(1029),G={name:"MemoryStats",components:{EntityIcon:q["default"]},mixins:[j["default"]],data(){return{isCollapsed:!0}}},H=a(6262);const J=(0,H.A)(G,[["render",U],["__scopeId","data-v-d7813182"]]);var K=J}}]);
//# sourceMappingURL=5131.e8c55eeb.js.map