import{g as d}from"./index-6ba67784.js";import{_ as f}from"./_plugin-vue_export-helper-c27b6911.js";import{r as v,o as I,f as p,a as t,k as b,w as o,g,i as c,t as s,c as _,F as h,j as N,h as k}from"./index-ad591d72.js";const x={class:"name"},P={__name:"IpPopup",setup(y){const a=v([]),i=()=>{d().then(e=>{a.value=e.IpInfo.filter(n=>!n.Name.includes("vEthernet"))})};return I(()=>{i()}),(e,n)=>{const l=p("el-button"),u=p("el-popover");return t(),b(u,{placement:"top-start",title:e.$t("distribution.remote.IP"),width:260,trigger:"hover"},{reference:o(()=>[g(l,{class:"btn",text:""},{default:o(()=>[c(s(e.$t("distribution.remote.hostIP")),1)]),_:1})]),default:o(()=>[(t(!0),_(h,null,N(a.value,(r,m)=>(t(),_("div",{key:m,class:"ip-list"},[k("div",x,s(r.Name)+":",1),c(" "+s(r.Value),1)]))),128))]),_:1},8,["title"])}}},E=f(P,[["__scopeId","data-v-1e8b98b9"]]);export{E as I};
