import{n as i}from"./plugin-vue2_normalizer.000ba15c.js";const r={props:{site:Object},data(){return{items:[{title:this.__("General"),to:this.route("sites.show",this.site.id),active:this.route().current("sites.show")},{title:this.__("Apps"),to:this.route("sites.apps.index",this.site.id),active:this.route().current("sites.apps.index")},{title:this.__("Databases"),to:this.route("sites.databases.index",this.site.id),active:this.route().current("sites.databases.index")},{title:this.__("Cronjobs"),to:this.route("sites.cronjobs.index",this.site.id),active:this.route().current("sites.cronjobs.index")},{title:this.__("Redirects"),to:this.route("sites.redirects.index",this.site.id),active:this.route().current("sites.redirects.index")},{title:this.__("Certificates"),to:this.route("sites.certificates.index",this.site.id),active:this.route().current("sites.certificates.index")},{title:this.__("Aliases"),to:this.route("sites.aliases.index",this.site.id),active:this.route().current("sites.aliases.index")},this.site.dns_id?{title:this.__("DNS"),to:this.route("sites.dns.index",this.site.id),active:this.route().current("sites.dns.index")}:null,this.can("sites","update")?{title:this.__("Settings"),to:this.route("sites.settings.show",this.site.id),active:this.route().current("sites.settings.show")}:null,{title:this.__("View site"),to:`http://${this.site.domain}`,type:"a"}]}}};var n=function(){var s=this,e=s._self._c;return e("ul",{staticClass:"md:-ml-4 space-y-1"},s._l(s.items,function(t){return t?e("li",[e(t.type&&t.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":t.active},attrs:{target:t.type&&t.type==="a"?"_blank":"_self",href:t.to}},[s._v(s._s(t.title)+" "+s._s(t.route))])],1):s._e()}),0)},a=[],o=i(r,n,a,!1,null,null,null,null);const u=o.exports;export{u as default};
