import{n as r}from"./plugin-vue2_normalizer.000ba15c.js";const n={props:{server:Object},data(){return{items:[{title:this.__("General"),to:this.route("servers.show",this.server.id),active:this.route().current("servers.show")},this.can("servers","update")?{title:this.__("Settings"),to:this.route("servers.settings.show",this.server.id),active:this.route().current("servers.settings.show")}:null]}}};var a=function(){var t=this,s=t._self._c;return s("ul",{staticClass:"-ml-4 space-y-1"},t._l(t.items,function(e){return e?s("li",[s(e.type&&e.type==="a"?"a":"inertia-link",{tag:"component",staticClass:"flex items-center h-10 px-4 font-medium text-medium-emphasis",class:{"rounded shadow text-primary bg-surface-3":e.active},attrs:{target:e.type&&e.type==="a"?"_blank":"_self",href:e.to}},[t._v(t._s(e.title)+" "+t._s(e.route))])],1):t._e()}),0)},i=[],o=r(n,a,i,!1,null,null,null,null);const _=o.exports;export{_ as default};
