"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5842],{5842:function(l,s,a){a.r(s),a.d(s,{default:function(){return y}});var e=a(641),n=a(33),t=a(3751);const c={class:"entity ping-host-container"},i={class:"head"},o={class:"col-1 icon-container"},d=["textContent"],u={key:0,class:"body children attributes fade-in"},v={class:"child"},r={class:"value"},C=["textContent"],k={key:0,class:"child"},p={class:"value"},h=["textContent"];function L(l,s,a,L,m,f){return(0,e.uX)(),(0,e.CE)("div",c,[(0,e.Lk)("div",i,[(0,e.Lk)("div",o,[(0,e.Lk)("span",{class:(0,n.C4)(["icon",f.iconClass])},null,2)]),(0,e.Lk)("div",{class:"col-10 name",onClick:s[0]||(s[0]=(0,t.D$)((l=>m.isCollapsed=!m.isCollapsed),["stop"]))},[(0,e.Lk)("div",{class:"name",textContent:(0,n.v_)(l.value.name)},null,8,d)]),(0,e.Lk)("div",{class:"col-1 collapse-toggler",onClick:s[1]||(s[1]=(0,t.D$)((l=>m.isCollapsed=!m.isCollapsed),["stop"]))},[(0,e.Lk)("i",{class:(0,n.C4)(["fas",{"fa-chevron-down":m.isCollapsed,"fa-chevron-up":!m.isCollapsed}])},null,2)])]),m.isCollapsed?(0,e.Q3)("",!0):((0,e.uX)(),(0,e.CE)("div",u,[(0,e.Lk)("div",v,[s[2]||(s[2]=(0,e.Lk)("div",{class:"col-s-12 col-m-6 label"},[(0,e.Lk)("div",{class:"name"},"Host")],-1)),(0,e.Lk)("div",r,[(0,e.Lk)("div",{class:"name",textContent:(0,n.v_)(l.value.name)},null,8,C)])]),l.value.reachable?((0,e.uX)(),(0,e.CE)("div",k,[s[4]||(s[4]=(0,e.Lk)("div",{class:"col-s-12 col-m-6 label"},[(0,e.Lk)("div",{class:"name"},"Ping")],-1)),(0,e.Lk)("div",p,[(0,e.Lk)("span",{textContent:(0,n.v_)(l.value.avg)},null,8,h),s[3]||(s[3]=(0,e.eW)(" ms "))])])):(0,e.Q3)("",!0)]))])}var m=a(4897),f={mixins:[m["default"]],data(){return{isCollapsed:!0}},computed:{iconClass(){return this.value.reachable?"reachable":"unreachable"}}},b=a(6262);const x=(0,b.A)(f,[["render",L],["__scopeId","data-v-75353a60"]]);var y=x}}]);
//# sourceMappingURL=5842.1a676c8b.js.map