import{p as I}from"./pdf-mixins-t8j--iwI.js";import{a as S,C as k,b as i,m as a,g as n,p as c,F as u,H as p,f,u as t,r as m,P as _}from"./convert-case-to-camel-case.utils-DDUpNI96.js";const C={class:"ccb-pdf-layout__items"},x={class:"ccb-pdf-layout__content"},j={class:"ccb-pdf-layout__items"},N=S({__name:"RightSidebar",props:{pdf:{},content:{}},setup(b){const y=b,{pdf:o,content:r}=k(y),{getBorderStyles:v,getDocumentSidebarStyles:g,getComponentName:l}=I(),B=i(()=>Object.values(o.value.sections).filter(e=>!e.isBody&&e.enable).sort((e,s)=>e.sortId-s.sortId)),h=i(()=>Object.values(o.value.sections).filter(e=>e.isBody&&e.enable).sort((e,s)=>e.sortId-s.sortId));return(d,e)=>(n(),a("div",{class:"ccb-pdf-layout ccb-with-right-sidebar",style:_(t(v)(t(o)))},[c("div",{class:"ccb-pdf-layout__sidebar",style:_(t(g)(t(o)))},[c("div",C,[(n(!0),a(u,null,p(B.value,s=>(n(),f(m(t(l)(s.key)),{item:s,content:t(r),pdf:t(o)},null,8,["item","content","pdf"]))),256))])],4),c("div",x,[c("div",j,[(n(!0),a(u,null,p(h.value,s=>(n(),f(m(t(l)(s.key)),{item:s,content:t(r),pdf:t(o)},null,8,["item","content","pdf"]))),256))])])],4))}});export{N as default};
//# sourceMappingURL=RightSidebar-C5Sjceon.js.map
