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