import{_ as p}from"./DuhDFJjj.js";import{_ as r}from"./CNIrc0EA.js";import{_ as h,c as s,o as a,b as t,t as o,F as u,g as b,D as g,f as n,w as $,J as I,W as f}from"./Bgmy51Qv.js";const y={name:"SettingLayout",data(){return{tabs:[{title:this.$t("setting.cur"),tabId:"currency"},{title:this.$t("list.addr"),tabId:"address"},{title:this.$t("list.lang"),tabId:"languages"},{title:this.$t("list.sl"),tabId:"social-login"},{title:this.$t("list.smtp"),tabId:"smtp"},{title:this.$t("title.ana"),tabId:"analytics"},{title:this.$t("list.payment"),tabId:"payment"},{title:this.$t("list.ms"),tabId:"media-storage"},{title:this.$t("dataPage.mis"),tabId:"miscellaneous"},{title:this.$t("ship.pl"),tabId:"plugins"},{title:this.$t("setting.cClear"),tabId:"clear-cache"}]}},props:{activeRoute:{type:String}},mixins:[],components:{ErrorFormatter:r},computed:{},methods:{},created(){},async mounted(){}},x={class:"tab-sidebar pos-rel"},k={class:"title bold"},v={class:"dply-felx"},S={class:"left-area"},B={class:"right-area"};function C(i,F,l,N,c,V){const d=p,_=r;return a(),s("div",x,[t("h5",k,o(i.$t("list.set")),1),t("div",v,[t("ul",S,[(a(!0),s(u,null,b(c.tabs,(e,m)=>(a(),s("li",{key:m,class:g({active:e.tabId===l.activeRoute})},[n(d,{to:`/setting/${e.tabId}`},{default:$(()=>[I(o(e.title),1)]),_:2},1032,["to"])],2))),128))]),t("div",B,[n(_),f(i.$slots,"rightArea")])])])}const L=h(y,[["render",C]]);export{L as _};
