1import{B as e,R as t,_ as n,a as r,i,l as a,m as o,n as s,o as c,s as l,t as u,y as d}from"./_plugin-vue_export-helper-LledoY8b.js";import{t as f}from"./service-AWe6Zi3q.js";var p={name:`Matrix`,mixins:[f],props:{item:Object},data:()=>({fetchOk:null,versionstring:null}),computed:{status:function(){return this.fetchOk?`online`:`offline`}},created(){this.fetchStatus()},methods:{fetchStatus:async function(){this.fetch(`_matrix/federation/v1/version`).then(e=>{this.fetchOk=!0,this.versionstring=e.server.version}).catch(e=>{this.fetchOk=!1,console.log(e)})}}},m={class:`title is-4`},h={class:`subtitle is-6`};function g(u,f,p,g,_,v){let y=n(`Generic`);return o(),r(y,{item:p.item},{content:d(()=>[i(`p`,m,e(p.item.name),1),i(`p`,h,[p.item.subtitle?(o(),l(s,{key:0},[a(e(p.item.subtitle),1)],64)):u.versionstring?(o(),l(s,{key:1},[a(` Version `+e(u.versionstring),1)],64)):c(``,!0)])]),indicator:d(()=>[v.status?(o(),l(`div`,{key:0,class:t([`status`,v.status])},e(v.status),3)):c(``,!0)]),_:1},8,[`item`])}var _=u(p,[[`render`,g],[`__scopeId`,`data-v-a865c7e0`]]);export{_ as default};
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.