import{_ as D}from"./Content.vue.Cy8DktyF.js";import{d as z,c as h,Z as A,t as p,w as a,s as r,y as o,aa as L,a1 as R,W,m as l,z as F,x as G,G as H,J as v,ab as J}from"./entry.ds4tjCL3.js";import{_ as O}from"./ListRelatives.vue.CR3eJISB.js";import{_ as Z}from"./index.vue.lSCkdD3G.js";import{_ as j}from"./WasThisPageHelpful.vue.ELa2W7ru.js";import{_ as q}from"./nuxt-layout.COYD9SrA.js";import{m as x}from"./util.Bx7Qs3b4.js";import"./uniform.CsChuMXH.js";import"./page.BlsHrsf_.js";import"./base-page.Bx9MIJ86.js";import"./Card.vue.DUYAkvox.js";import"./VSelectionControl.B3D-Pbs-.js";import"./VSheet.CmwCb0P5.js";const ne=z({__name:"page-l4a",props:{page:{},relatives:{}},setup($){const s=$,{siblings:C}=s.relatives,c=h(()=>x(s.page)),S=h(()=>{var e,i,n;return(e=s.page.action_link)!=null&&e.title?(i=s.page.action_link)==null?void 0:i.title:(n=c.value)==null?void 0:n.title});return(e,i)=>{const n=D,T=J,N=O,P=Z,V=j,w=q,B=A("hc-target");return r(),p(w,null,{default:a(()=>{var m,_,d,f,g,u;return[o(P,{blocks:((d=(_=(m=e.page)==null?void 0:m.sidebar)==null?void 0:_.blocks)==null?void 0:d.map(t=>t))??[],departments:((u=(g=(f=e.page)==null?void 0:f.departmentsConnection)==null?void 0:g.edges)==null?void 0:u.map(t=>t==null?void 0:t.node))??[]},{sidebar:a(()=>[o(T,null,{default:a(()=>{var t,b,y,k;return[(r(),p(L,{to:"#sidebar-teleport",disabled:!e.$vuetify.display.xs},[(t=e.page.action_link)!=null&&t.href?R((r(),p(W,{key:0,href:(b=e.page.action_link)==null?void 0:b.href,title:(y=e.page.action_link)==null?void 0:y.title,size:"large",color:"accent",block:"",class:"mb-5","append-icon":(k=l(c))==null?void 0:k.icon},{default:a(()=>[F(G(l(S)),1)]),_:1},8,["href","title","append-icon"])),[[B]]):H("",!0)],8,["disabled"]))]}),_:1}),o(N,{title:"Related Pages",pages:l(C),class:"mb-3"},null,8,["pages"]),v(e.$slots,"sidebar")]),default:a(()=>[o(n,{"content-type":"page",system:e.page.system,"base-content":e.page.base},{default:a(()=>[v(e.$slots,"default")]),_:3},8,["system","base-content"])]),_:3},8,["blocks","departments"]),o(V)]}),_:3})}}});export{ne as default};