import{d as c,a1 as m,l as v,q as f,c as u,h as g,f as t,w as r,m as n,t as o,e as _,v as V,g as h}from"./index-0ae84607.js";import{V as y,a as s}from"./VTabs-6b306fb2.js";import{V as b}from"./VToolbar-b7dd8339.js";import{a as S}from"./forwardRefs-d0d7c5bd.js";import"./VSlideGroup-18f8a11f.js";const T=h("div",{style:{height:"15px"}},null,-1),D=c({__name:"Settings",setup($){const i=m(),d=v(()=>{var e,l,a;return(e=i.currentRoute.value.name)!=null&&e.toString().includes("player")?"players":(l=i.currentRoute.value.name)!=null&&l.toString().includes("core")?"core":(a=i.currentRoute.value.name)!=null&&a.toString().includes("frontend")?"frontend":"providers"});return(e,l)=>{const a=f("router-view");return u(),g("div",null,[t(b,{color:"transparent",title:e.$t("settings.settings")},{append:r(()=>[t(y,{"model-value":d.value,"align-tabs":"end",height:"100%"},{default:r(()=>[t(s,{value:"providers",to:{name:"providersettings"}},{default:r(()=>[n(o(e.$t("settings.providers")),1)]),_:1}),t(s,{value:"players",to:{name:"playersettings"}},{default:r(()=>[n(o(e.$t("settings.players")),1)]),_:1}),t(s,{value:"core",to:{name:"coresettings"}},{default:r(()=>[n(o(e.$t("settings.core")),1)]),_:1}),t(s,{value:"frontend",to:{name:"frontendsettings"}},{default:r(()=>[n(o(e.$t("settings.frontend")),1)]),_:1})]),_:1},8,["model-value"])]),_:1},8,["title"]),t(S),T,t(a,{app:""},{default:r(({Component:p})=>[(u(),_(V(p)))]),_:1})])}}});export{D as default};
