import{u as y}from"./vendor-vue-runtime-dom-B2rky8vu.js";import{u as h}from"./useAppearanceStore-IzenP-G4.js";import{a as b}from"./useAppearanceTypography-BBl5RU11.js";import{d as g,e as i,f as C,i as k,x as m}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{u as p,r as x}from"./vendor-vue-reactivity-CheHbvBM.js";import{t as A,a as S}from"./vendor-vue-shared-DrzsEcag.js";import{_ as B}from"./vendor-vue3-html2pdf-KR020wX8.js";import"./vendor-pinia-BSPefQhS.js";import"./vendor-axios-xsH4HHeE.js";import"./vendor-vue3-toastify-DBGjcIyK.js";import"./vendor-html2pdf.js-B-tok4Ns.js";import"./vendor-jspdf-UFhKzYHA.js";import"./vendor-bootstrap-CCU-90um.js";import"./vendor-html2canvas-BfYXEYrK.js";const P={class:"ccb-summary-header__title"},z=g({__name:"Header",props:{summary:{}},emits:["hide-summary"],setup(D,{emit:n}){y(e=>({"43f83288":d.value,"547cb5d7":p(_),"2eb9face":p(f),"15864d60":u.value}));const l=n,c=h(),u=i(()=>{var e,a,o,r,t;return`${((t=(r=(o=(a=(e=c.getActivePreset)==null?void 0:e.desktop)==null?void 0:a.colors)==null?void 0:o.data)==null?void 0:r.primary_color)==null?void 0:t.value)||"#000000"}1D`}),d=i(()=>{var e,a,o,r,t;return((t=(r=(o=(a=(e=c.getActivePreset)==null?void 0:e.desktop)==null?void 0:a.colors)==null?void 0:o.data)==null?void 0:r.primary_color)==null?void 0:t.value)||{}}),{headerFontSize:_,headerFontWeight:f}=b(),s=x(!1),v=()=>{s.value=!s.value,l("hide-summary",s.value)};return(e,a)=>(k(),C("div",{class:S(["ccb-summary-header",{"ccb-summary-header--open":s.value}])},[m("div",P,A(e.summary.options.title),1),m("div",{class:"ccb-summary-header__action",onClick:v},a[0]||(a[0]=[m("i",{class:"ccb-icon-Path-3485"},null,-1)]))],2))}}),J=B(z,[["__scopeId","data-v-a137951e"]]);export{J as default};
//# sourceMappingURL=Header-B9fKgLiA.js.map
