import{d as u,f as g,o as n,c as h,a as f,b as v,m as y,e as x,R as w,S as b,_ as m,k as c,n as l,t as p,p as S,u as q,A as B,l as _,F as P,v as k,q as $,z}from"./app-DZcRemIr.js";import{P as O,c as j,B as C}from"./index-CA0zsXLm.js";import{r as H}from"./SiifIconBC3-DYQKLzWx.js";var N=u({__name:"BaseSeparator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(r){const a=r,e=["horizontal","vertical"];function t(d){return e.includes(d)}const s=g(()=>t(a.orientation)?a.orientation:"horizontal"),i=g(()=>s.value==="vertical"?a.orientation:void 0),o=g(()=>a.decorative?{role:"none"}:{"aria-orientation":i.value,role:"separator"});return(d,oe)=>(n(),h(x(O),y({as:d.as,"as-child":d.asChild,"data-orientation":s.value},o.value),{default:f(()=>[v(d.$slots,"default")]),_:3},16,["as","as-child","data-orientation"]))}}),L=N,V=u({__name:"Separator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(r){const a=r;return(e,t)=>(n(),h(L,w(b(a)),{default:f(()=>[v(e.$slots,"default")]),_:3},16))}}),A=V;const I=u({__name:"Separator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},class:{type:[Boolean,null,String,Object,Array],required:!1,skipCheck:!0}},setup(r,{expose:a}){a();const e=r,t=H(e,"class"),s={props:e,delegatedProps:t,get cn(){return j},get Separator(){return A}};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}});function R(r,a,e,t,s,i){return n(),h(t.Separator,y({"data-slot":"separator-root"},t.delegatedProps,{class:t.cn("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",t.props.class)}),null,16,["class"])}const T=m(I,[["render",R],["__file","/var/www/resources/js/components/ui/separator/Separator.vue"]]),E=u({__name:"HeadingSmall",props:{title:{type:String,required:!0},description:{type:String,required:!1}},setup(r,{expose:a}){a();const e={};return Object.defineProperty(e,"__isScriptSetup",{enumerable:!1,value:!0}),e}}),F={class:"mb-0.5 text-base font-medium"},D={key:0,class:"text-sm text-muted-foreground"};function M(r,a,e,t,s,i){return n(),c("header",null,[l("h3",F,p(e.title),1),e.description?(n(),c("p",D,p(e.description),1)):S("v-if",!0)])}const ce=m(E,[["render",M],["__file","/var/www/resources/js/components/HeadingSmall.vue"]]),U=u({__name:"Heading",props:{title:{type:String,required:!0},description:{type:String,required:!1}},setup(r,{expose:a}){a();const e={};return Object.defineProperty(e,"__isScriptSetup",{enumerable:!1,value:!0}),e}}),G={class:"mb-8 space-y-0.5"},J={class:"text-xl font-semibold tracking-tight"},K={key:0,class:"text-sm text-muted-foreground"};function Q(r,a,e,t,s,i){return n(),c("div",G,[l("h2",J,p(e.title),1),e.description?(n(),c("p",K,p(e.description),1)):S("v-if",!0)])}const W=m(U,[["render",Q],["__file","/var/www/resources/js/components/Heading.vue"]]),X=u({__name:"Layout",setup(r,{expose:a}){var o;a();const e=[{title:"Profile",href:"/settings/profile"},{title:"Password",href:"/settings/password"},{title:"Appearance",href:"/settings/appearance"}],t=q(),s=(o=t.props.ziggy)!=null&&o.location?new URL(t.props.ziggy.location).pathname:"",i={sidebarNavItems:e,page:t,currentPath:s,Heading:W,get Button(){return C},get Separator(){return T},get Link(){return B}};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),Y={class:"px-4 py-6"},Z={class:"flex flex-col space-y-8 md:space-y-0 lg:flex-row lg:space-x-12 lg:space-y-0"},ee={class:"w-full max-w-xl lg:w-48"},te={class:"flex flex-col space-x-0 space-y-1"},ae={class:"flex-1 md:max-w-2xl"},re={class:"max-w-xl space-y-12"};function se(r,a,e,t,s,i){return n(),c("div",Y,[_(t.Heading,{title:"Settings",description:"Manage your profile and account settings"}),l("div",Z,[l("aside",ee,[l("nav",te,[(n(),c(P,null,k(t.sidebarNavItems,o=>_(t.Button,{key:o.href,variant:"ghost",class:z(["w-full justify-start",{"bg-muted":t.currentPath===o.href}]),"as-child":""},{default:f(()=>[_(t.Link,{href:o.href},{default:f(()=>[$(p(o.title),1)]),_:2},1032,["href"])]),_:2},1032,["class"])),64))])]),_(t.Separator,{class:"my-6 md:hidden"}),l("div",ae,[l("section",re,[v(r.$slots,"default")])])])])}const ue=m(X,[["render",se],["__file","/var/www/resources/js/layouts/settings/Layout.vue"]]);export{ce as H,ue as S};
