import{E as e,H as t,Q as n,R as r,W as i,Z as a,_ as o,b as s,f as c,g as l,gt as u,ut as d,v as f,w as p}from"./vue.runtime.esm-bundler-56z_v_HH.js";import{a as m,i as h,t as g}from"./vue-router-_izWfDzq.js";import{n as _}from"./vue-i18n-DhldrKy8.js";var v={class:`w-full mb-6 select-wrapper xl:hidden`},y={class:`flex gap-8`},b={class:`hidden mt-1 xl:block min-w-[240px] sticky top-20 self-start`},x={class:`w-full overflow-visible`},S=e({__name:`AdminSettingsView`,setup(e){let{t:S}=_(),C=h(),w=m(),T=d(void 0),E=l(()=>[{title:S(`settings.mail.mail_config`),link:`/admin/administration/settings/mail-configuration`,icon:`EnvelopeIcon`},{title:S(`settings.menu_title.ai_configuration`),link:`/admin/administration/settings/ai-configuration`,icon:`SparklesIcon`},{title:S(`settings.menu_title.pdf_generation`),link:`/admin/administration/settings/pdf-generation`,icon:`DocumentIcon`},{title:S(`settings.menu_title.backup`),link:`/admin/administration/settings/backup`,icon:`CircleStackIcon`},{title:S(`settings.menu_title.file_disk`),link:`/admin/administration/settings/file-disk`,icon:`FolderIcon`},{title:S(`settings.menu_title.fonts`),link:`/admin/administration/settings/fonts`,icon:`LanguageIcon`},{title:S(`settings.menu_title.update_app`),link:`/admin/administration/settings/update-app`,icon:`ArrowPathIcon`},{title:S(`settings.menu_title.appearance`),link:`/admin/administration/settings/appearance`,icon:`PaintBrushIcon`}]);a(()=>{C.path===`/admin/administration/settings`&&w.push(`/admin/administration/settings/mail-configuration`),T.value=E.value.find(e=>C.path.indexOf(e.link)>-1)});function D(e){return C.path.indexOf(e)>-1}function O(e){w.push(e.link)}return(e,a)=>{let l=i(`BaseBreadcrumbItem`),d=i(`BaseBreadcrumb`),m=i(`BasePageHeader`),h=i(`BaseMultiselect`),_=i(`BaseIcon`),S=i(`BaseListItem`),C=i(`BaseList`),w=i(`BasePage`);return r(),f(w,null,{default:n(()=>[p(m,{title:e.$t(`administration.settings.title`),class:`mb-6`},{default:n(()=>[p(d,null,{default:n(()=>[p(l,{title:e.$t(`general.home`),to:`/admin/dashboard`},null,8,[`title`]),p(l,{title:e.$t(`administration.settings.title`),to:`#`,active:``},null,8,[`title`])]),_:1})]),_:1},8,[`title`]),o(`div`,v,[p(h,{modelValue:T.value,"onUpdate:modelValue":[a[0]||=e=>T.value=e,O],options:E.value,"can-deselect":!1,"value-prop":`title`,"track-by":`title`,label:`title`,object:``},null,8,[`modelValue`,`options`])]),o(`div`,y,[o(`div`,b,[p(C,null,{default:n(()=>[(r(!0),s(c,null,t(E.value,(e,t)=>(r(),f(S,{key:t,title:e.title,to:e.link,active:D(e.link),index:t,class:`py-3`},{icon:n(()=>[p(_,{name:e.icon},null,8,[`name`])]),_:2},1032,[`title`,`to`,`active`,`index`]))),128))]),_:1})]),o(`div`,x,[p(u(g))])])]),_:1})}}});export{S as default};